Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / Window / window-property-invalid-characters-ignored.html
blob9fdd32c62122ae2f5f9f7d35bc59bb2eb3bb49a9
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../../resources/js-test.js"></script>
5 <script>
6 jsTestIsAsync = true;
8 if (window.testRunner) {
9 testRunner.waitUntilDone();
10 testRunner.setCanOpenWindows();
13 description("Tests that Unicode characters that changes the string length when lower cased still works.");
15 // U+0130 = LATIN CAPITAL LETTER I WITH DOT ABOVE
16 // U+0069 LATIN SMALL LETTER I
17 // U+0307 COMBINING DOT ABOVE
18 // \u0130 gets lowered to \u0069\u0307.
20 var w = window.open("resources/window-property-invalid-characters-ignored.html", "blank", "\u0130\u0130=\u0130\u0130,width=123,height=123");
22 function finishTest()
24 shouldBe("w.innerWidth", "123");
25 shouldBe("w.innerHeight", "123");
26 shouldBeTrue("w !== window");
27 w.close();
29 finishJSTest();
32 </script>
33 </head>
34 <body>
35 <pre id="console"></pre>
36 </body>
37 </html>