Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / loader / data-url-encoding-html.html
blobdc4d14e78f917de795357074245e9b247332f580
1 <meta charset="koi8-r">
2 <body onload="test()">
3 <p>Test that non-ASCII data: URLs are handled correctly.</p>
4 <pre id=result></pre>
5 <script>
6 if (window.testRunner)
7 testRunner.dumpAsText();
9 function test() {
10 document.getElementById("result").innerHTML += "1. " + (window.frames[0].document.body.innerHTML == "ðÒÏ×ÅÒËÁ" ? "SUCCESS" : "FAILURE") + ".\r";
11 document.getElementById("result").innerHTML += "2. " + (window.frames[1].document.body.innerHTML == "ðÒÏ×ÅÒËÁ" ? "SUCCESS" : "FAILURE") + ".\r";
12 document.getElementById("result").innerHTML += "3. " + (window.frames[2].document.body.innerHTML == "ðÒÏ×ÅÒËÁ" ? "SUCCESS" : "FAILURE") + ".\r";
14 </script>
15 <iframe src="data:text/html;charset=utf-8,<body>ðÒÏ×ÅÒËÁ</body>"></iframe>
16 <iframe src="data:text/html;charset=utf-8,<body foo='#'>ðÒÏ×ÅÒËÁ</body>"></iframe>
17 <iframe src="data:text/html;charset=utf-8,<body>%D0%9F%D1%80%D0%BE%D0%B2%D0%B5%D1%80%D0%BA%D0%B0</body>"></iframe>
18 </body>