Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / parser / assertion-empty-attribute.html
blob3c47cbc661d733938ae1a647d49a7fac8f9d0e52
1 <html>
2 <head>
3 <title> Test case bug 13942 </title>
4 <script>
5 if (window.testRunner) {
6 testRunner.dumpAsText();
8 </script>
9 </head>
10 <body>
11 <p> Test case for <a href="https://bugs.webkit.org/show_bug.cgi?id=13942"> Bug 13942 </a>: ASSERTION FAILED: !attrName.contains('/') in HTMLTokenizer.cpp:132 when loading http://bamanzi.blogeden.cn/ </p>
12 <p> To pass this test, there should be no assertion failure and you should PASS three times. </p>
13 <href ='http://webkit.org' id='test'> PASS </href>
14 <script type='text/javascript'>
15 // Check that we have recovered from the error
16 // and taken 'id' into account.
17 var test = document.getElementById('test');
18 if (test) {
19 test.appendChild(document.createElement('br'));
20 test.appendChild(document.createTextNode('PASS'));
21 } else {
22 document.body.appendChild(document.createElement('br'));
23 document.body.appendChild(document.createTextNode('FAILED'));
25 </script>
26 <br/>
27 <a ='http://webkit.org>PASS</a>
28 </body>
29 </html>