| OLD | NEW |
| 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../resources/js-test.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 Test HTMLUnknownElement | 7 Test HTMLUnknownElement |
| 8 <p> | 8 <p> |
| 9 This test verifies the following: | 9 This test verifies the following: |
| 10 <ol> | 10 <ol> |
| 11 <li>The <code><a href="http://www.whatwg.org/specs/web-apps/current-work/multi
page/elements.html#htmlunknownelement">HTMLUnknownElement</a></code> | 11 <li>The <code><a href="http://www.whatwg.org/specs/web-apps/current-work/multi
page/elements.html#htmlunknownelement">HTMLUnknownElement</a></code> |
| 12 interface is used for HTML elements that are not defined by the HTML5 | 12 interface is used for HTML elements that are not defined by the HTML5 |
| 13 specification (or other applicable specifications). | 13 specification (or other applicable specifications). |
| 14 <li>The <code><a href="http://www.whatwg.org/specs/web-apps/current-work/multi
page/elements.html#htmlunknownelement">HTMLUnknownElement</a></code> | 14 <li>The <code><a href="http://www.whatwg.org/specs/web-apps/current-work/multi
page/elements.html#htmlunknownelement">HTMLUnknownElement</a></code> |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 if (isBogusTag(staticElement)) { | 74 if (isBogusTag(staticElement)) { |
| 75 shouldBeTrue("staticElements[\"" + staticElement + "\"]" + " instanc
eof HTMLUnknownElement"); | 75 shouldBeTrue("staticElements[\"" + staticElement + "\"]" + " instanc
eof HTMLUnknownElement"); |
| 76 } else { | 76 } else { |
| 77 shouldBeFalse("staticElements[\"" + staticElement + "\"]" + " instan
ceof HTMLUnknownElement"); | 77 shouldBeFalse("staticElements[\"" + staticElement + "\"]" + " instan
ceof HTMLUnknownElement"); |
| 78 } | 78 } |
| 79 } | 79 } |
| 80 } | 80 } |
| 81 </script> | 81 </script> |
| 82 </body> | 82 </body> |
| 83 </html> | 83 </html> |
| OLD | NEW |