| 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 <div id="insert"></div> | 7 <div id="insert"></div> |
| 8 <div> | 8 <div> |
| 9 <div> | 9 <div> |
| 10 <style scoped> | 10 <style scoped> |
| 11 span { | 11 span { |
| 12 color: grey; | 12 color: grey; |
| 13 } | 13 } |
| 14 </style> | 14 </style> |
| (...skipping 18 matching lines...) Expand all Loading... |
| 33 description('Test a case whether order of scoping nodes is different from or
der of style elements.'); | 33 description('Test a case whether order of scoping nodes is different from or
der of style elements.'); |
| 34 shouldBe('document.styleSheets.length', '4'); | 34 shouldBe('document.styleSheets.length', '4'); |
| 35 shouldBe('document.styleSheets[1].cssRules[0].cssText', '"span { color: gree
n; }"'); | 35 shouldBe('document.styleSheets[1].cssRules[0].cssText', '"span { color: gree
n; }"'); |
| 36 shouldBe('document.styleSheets[2].cssRules[0].cssText', '"span { color: grey
; }"'); | 36 shouldBe('document.styleSheets[2].cssRules[0].cssText', '"span { color: grey
; }"'); |
| 37 shouldBe('document.styleSheets[3].cssRules[0].cssText', '"span { border: 1px
solid green; }"'); | 37 shouldBe('document.styleSheets[3].cssRules[0].cssText', '"span { border: 1px
solid green; }"'); |
| 38 shouldBe('borderColor("target")', '"rgb(0, 128, 0)"'); | 38 shouldBe('borderColor("target")', '"rgb(0, 128, 0)"'); |
| 39 </script> | 39 </script> |
| 40 </body> | 40 </body> |
| 41 </html> | 41 </html> |
| 42 | 42 |
| OLD | NEW |