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="parent_of_div" contentEditable="false"> | 10 <div id="parent_of_div" contentEditable="false"> |
(...skipping 30 matching lines...) Expand all Loading... |
41 | 41 |
42 shouldBe('document.getElementById("p2").contentEditable', '"inherit"'); | 42 shouldBe('document.getElementById("p2").contentEditable', '"inherit"'); |
43 shouldBe('document.getElementById("p2").isContentEditable', 'true'); | 43 shouldBe('document.getElementById("p2").isContentEditable', 'true'); |
44 shouldBe('window.getComputedStyle(p2, "").getPropertyValue("-webkit-user-modify"
)', '"read-write"'); | 44 shouldBe('window.getComputedStyle(p2, "").getPropertyValue("-webkit-user-modify"
)', '"read-write"'); |
45 | 45 |
46 document.getElementById("parent_of_div").style.display= 'none'; | 46 document.getElementById("parent_of_div").style.display= 'none'; |
47 document.getElementById("parent_of_div2").style.display= 'none'; | 47 document.getElementById("parent_of_div2").style.display= 'none'; |
48 document.getElementById("parent_of_p").style.display= 'none'; | 48 document.getElementById("parent_of_p").style.display= 'none'; |
49 document.getElementById("parent_of_p2").style.display= 'none'; | 49 document.getElementById("parent_of_p2").style.display= 'none'; |
50 </script> | 50 </script> |
51 <script src="../../js/resources/js-test-post.js"></script> | |
52 </body> | 51 </body> |
53 </html> | 52 </html> |
OLD | NEW |