Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / parser / href-whitespace.html
blobdccd4bc2de5b04bb4d876819faca867e6f402bf4
3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml">
5 <head>
7 <script>
8 if (window.testRunner)
9 testRunner.dumpAsText();
11 function test() {
12 var a = document.getElementsByTagName('a')[0];
13 a.href = a.href;
14 a.textContent = /%20/.test(a.href) ? "FAIL" : "PASS";
16 </script>
17 </head>
18 <body onload="test()">
19 <a href="&#xD;&#xA; default.aspx?aType=SonDakika&amp;ArticleID=501349&amp;Date=03.03.2008&#xD;&#xA; " >test</a>
20 </body>
22 </html>