summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/parser/href-whitespace.html
blob: c5d929ab54a30e2fdf4ccd5b378015514ea93478 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<script>
if (window.layoutTestController)
    layoutTestController.dumpAsText();

function test() {
    var a = document.getElementsByTagName('a')[0];
    a.href = a.href;
    a.textContent = /%20/.test(a.href) ? "FAIL" : "PASS";
}
</script>
</head>
<body onload="test()">
<a href="&#xD;&#xA;							  default.aspx?aType=SonDakika&amp;ArticleID=501349&amp;Date=03.03.2008&#xD;&#xA;	" >test</a>
</body>

</html>