| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <script> | |
| if (window.testRunner) | |
| testRunner.dumpAsText(); | |
| </script> | |
| <script> | |
| function getContent() { | |
| var regx=new RegExp(' ','gi'); | |
| if (document.body.innerHTML.search(" '"") < 0) | |
| document.write("FAIL: <xmp>" + document.body.innerHTML + "</xmp>"); | |
| else | |
| document.write("PASS<p>"); | |
| } | |
| </script> | |
| </head> | |
| <body onload="getContent()"><div id="div" foo=" '""></div></body></html> |