Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / transpose-backslash-with-euc.html
bloba38b1e915f2848392a1e5348f3bc53a93f857adb
1 <!DOCTYPE html>
2 <html>
4 <head>
5 <meta charset="EUC-JP">
6 <script>
8 if (window.testRunner)
9 testRunner.dumpAsText();
11 function test()
13 var backslashDivElement = document.getElementById("backslash");
14 getSelection().extend(backslashDivElement, 1);
15 document.execCommand("Transpose");
17 // 92 is the char code of a backslash.
18 var backslash = 92;
19 if (backslash == backslashDivElement.innerHTML.charCodeAt(0) && backslash == backslashDivElement.innerHTML.charCodeAt(1))
20 document.getElementById("result").innerHTML = "PASS";
23 </script>
24 </head>
26 <body onload="test()">
28 <div id="backslash" contentEditable="true">\\</div>
30 <div id="result">FAIL</div>
32 </body>
34 </html>