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="../../../resources/js-test.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="false"></div> | 10 <div id="div1" contenteditable="false"></div> |
11 <div id="div2" contenteditable="false"> | 11 <div id="div2" contenteditable="false"> |
12 <p id="p2"></p> | 12 <p id="p2"></p> |
13 </div> | 13 </div> |
14 <script> | 14 <script> |
(...skipping 11 matching lines...) Expand all Loading... |
26 shouldBe('document.getElementById("p2").getAttribute("contentEditable")','"true"
'); | 26 shouldBe('document.getElementById("p2").getAttribute("contentEditable")','"true"
'); |
27 shouldBe('document.getElementById("p2").contentEditable', '"true"'); | 27 shouldBe('document.getElementById("p2").contentEditable', '"true"'); |
28 shouldBe('document.getElementById("p2").isContentEditable', 'true'); | 28 shouldBe('document.getElementById("p2").isContentEditable', 'true'); |
29 shouldBe('window.getComputedStyle(p2, "").getPropertyValue("-webkit-user-modify"
)', '"read-write"'); | 29 shouldBe('window.getComputedStyle(p2, "").getPropertyValue("-webkit-user-modify"
)', '"read-write"'); |
30 | 30 |
31 document.getElementById("div1").style.display= 'none'; | 31 document.getElementById("div1").style.display= 'none'; |
32 document.getElementById("div2").style.display= 'none'; | 32 document.getElementById("div2").style.display= 'none'; |
33 </script> | 33 </script> |
34 </body> | 34 </body> |
35 </html> | 35 </html> |
OLD | NEW |