| 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 <script src="resources/shadow-dom.js"></script> | 5 <script src="resources/shadow-dom.js"></script> |
| 6 <style> | 6 <style> |
| 7 div::part(header) { | 7 div::part(header) { |
| 8 background-color: green; | 8 background-color: green; |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 | 65 |
| 66 backgroundColorShouldBe('host/target', 'rgba(0, 0, 0, 0)'); | 66 backgroundColorShouldBe('host/target', 'rgba(0, 0, 0, 0)'); |
| 67 document.body.offsetLeft; // should finish layout or style recalc here for a nex
t test. | 67 document.body.offsetLeft; // should finish layout or style recalc here for a nex
t test. |
| 68 | 68 |
| 69 getNodeInTreeOfTrees('host/target').setAttribute('part', 'header'); | 69 getNodeInTreeOfTrees('host/target').setAttribute('part', 'header'); |
| 70 | 70 |
| 71 backgroundColorShouldBe('host/target', 'rgb(0, 128, 0)'); | 71 backgroundColorShouldBe('host/target', 'rgb(0, 128, 0)'); |
| 72 | 72 |
| 73 cleanUp(); | 73 cleanUp(); |
| 74 </script> | 74 </script> |
| 75 <script src="../../js/resources/js-test-post.js"></script> | |
| 76 </body> | 75 </body> |
| OLD | NEW |