| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../js/resources/js-test-pre.js"></script> | 4 <script src="../../js/resources/js-test-pre.js"></script> |
| 5 </head> | 5 </head> |
| 6 <body> | 6 <body> |
| 7 <p id="description"></p> | 7 <p id="description"></p> |
| 8 <div id="console"></div> | 8 <div id="console"></div> |
| 9 <div id="result"></div> | 9 <div id="result"></div> |
| 10 <div id="div1" contenteditable="true"></div> | 10 <div id="div1" contenteditable="true"></div> |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 shouldBe('document.getElementById("div1").isContentEditable', 'false'); | 22 shouldBe('document.getElementById("div1").isContentEditable', 'false'); |
| 23 shouldBe('window.getComputedStyle(div1, "").getPropertyValue("-webkit-user-modif
y")', '"read-only"'); | 23 shouldBe('window.getComputedStyle(div1, "").getPropertyValue("-webkit-user-modif
y")', '"read-only"'); |
| 24 | 24 |
| 25 shouldBe('document.getElementById("p2").contentEditable', '"false"'); | 25 shouldBe('document.getElementById("p2").contentEditable', '"false"'); |
| 26 shouldBe('document.getElementById("p2").isContentEditable', 'false'); | 26 shouldBe('document.getElementById("p2").isContentEditable', 'false'); |
| 27 shouldBe('window.getComputedStyle(p2, "").getPropertyValue("-webkit-user-modify"
)', '"read-only"'); | 27 shouldBe('window.getComputedStyle(p2, "").getPropertyValue("-webkit-user-modify"
)', '"read-only"'); |
| 28 | 28 |
| 29 document.getElementById("div1").style.display= 'none'; | 29 document.getElementById("div1").style.display= 'none'; |
| 30 document.getElementById("div2").style.display= 'none'; | 30 document.getElementById("div2").style.display= 'none'; |
| 31 </script> | 31 </script> |
| 32 <script src="../../js/resources/js-test-post.js"></script> | |
| 33 </body> | 32 </body> |
| 34 </html> | 33 </html> |
| OLD | NEW |