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 <!-- crbug.com/246300 --> | 7 <!-- crbug.com/246300 --> |
8 <!-- #host shadow root --> | 8 <!-- #host shadow root --> |
9 <template id="t"> | 9 <template id="t"> |
10 <style> | 10 <style> |
11 #host { | 11 #host { |
12 height: 50px; | 12 height: 50px; |
13 width: 50px; | 13 width: 50px; |
14 background: lightgray; | 14 background: lightgray; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 jsTestIsAsync = true; | 54 jsTestIsAsync = true; |
55 setTimeout(function() { | 55 setTimeout(function() { |
56 container.remove(); | 56 container.remove(); |
57 sr.appendChild(container); | 57 sr.appendChild(container); |
58 | 58 |
59 shouldHaveBackgroundColor(sr2.getElementById('green'), 'rgb(0, 128, 0)'); | 59 shouldHaveBackgroundColor(sr2.getElementById('green'), 'rgb(0, 128, 0)'); |
60 finishJSTest(); | 60 finishJSTest(); |
61 }, 0); | 61 }, 0); |
62 </script> | 62 </script> |
63 </html> | 63 </html> |
OLD | NEW |