Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / innerHTML-escaping-attribute.html
blob734154fbbd652f40871380d5d3a2e68fae0a5e2d
1 <html>
2 <head>
3 <meta charset="utf-8">
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
7 </script>
8 <script>
9 function getContent() {
10 var regx=new RegExp('&nbsp;','gi');
11 if (document.body.innerHTML.search("&nbsp;&nbsp;'&quot;") < 0)
12 document.write("FAIL: <xmp>" + document.body.innerHTML + "</xmp>");
13 else
14 document.write("PASS<p>");
16 </script>
17 </head>
18 <body onload="getContent()"><div id="div" foo="&nbsp; '&quot;"></div></body></html>