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 <script src="resources/shadow-dom.js"></script> | 5 <script src="resources/shadow-dom.js"></script> |
6 <style> | 6 <style> |
7 :host { | 7 :host { |
8 background-color: red; | 8 background-color: red; |
9 } | 9 } |
10 </style> | 10 </style> |
11 </head> | 11 </head> |
12 <body class='mytheme'> | 12 <body class='mytheme'> |
13 <div> | 13 <div> |
14 <div id='sandbox'></div> | 14 <div id='sandbox'></div> |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 | 238 |
239 backgroundColorShouldBe('host', 'rgb(0, 128, 0)'); | 239 backgroundColorShouldBe('host', 'rgb(0, 128, 0)'); |
240 var parentOfHost = document.getElementById('parentOfHost'); | 240 var parentOfHost = document.getElementById('parentOfHost'); |
241 parentOfHost.id = 'differntIdValue'; | 241 parentOfHost.id = 'differntIdValue'; |
242 backgroundColorShouldBe('host', 'rgba(0, 0, 0, 0)'); | 242 backgroundColorShouldBe('host', 'rgba(0, 0, 0, 0)'); |
243 | 243 |
244 cleanUp(); | 244 cleanUp(); |
245 | 245 |
246 </script> | 246 </script> |
247 </body> | 247 </body> |
OLD | NEW |