| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <body> | 3 <body> |
| 4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../js/resources/js-test-pre.js"></script> |
| 5 | 5 |
| 6 <p>This test checks pseudo attribute is exposed correctly.</p> | 6 <p>This test checks pseudo attribute is exposed correctly.</p> |
| 7 | 7 |
| 8 <pre id="console"></pre> | 8 <pre id="console"></pre> |
| 9 | 9 |
| 10 <script> | 10 <script> |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 div.removeAttribute('pseudo'); | 24 div.removeAttribute('pseudo'); |
| 25 shouldBe("div.pseudo", "''"); | 25 shouldBe("div.pseudo", "''"); |
| 26 shouldBe("div.getAttribute('pseudo')", "null"); | 26 shouldBe("div.getAttribute('pseudo')", "null"); |
| 27 | 27 |
| 28 // Checks pseudo accepts known pseudo-element word. | 28 // Checks pseudo accepts known pseudo-element word. |
| 29 div.pseudo = 'first-letter'; | 29 div.pseudo = 'first-letter'; |
| 30 shouldBe("div.pseudo", "'first-letter'"); | 30 shouldBe("div.pseudo", "'first-letter'"); |
| 31 | 31 |
| 32 finishJSTest(); | 32 finishJSTest(); |
| 33 </script> | 33 </script> |
| 34 <script src="../../js/resources/js-test-post.js"></script> | |
| 35 </body> | 34 </body> |
| 36 </html> | 35 </html> |
| OLD | NEW |