| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <script src="../../../resources/js-test.js"></script> | 2 <script src="../resources/js-test.js"></script> |
| 3 <script src="resources/shadow-dom.js"></script> | 3 <script src="../fast/dom/shadow/resources/shadow-dom.js"></script> |
| 4 <style> | 4 <style> |
| 5 div { | 5 div { |
| 6 background-color: white; | 6 background-color: white; |
| 7 } | 7 } |
| 8 | 8 |
| 9 div#shadow-host:focus { | 9 div#shadow-host:focus { |
| 10 background-color: green; | 10 background-color: green; |
| 11 } | 11 } |
| 12 </style> | 12 </style> |
| 13 <body> | 13 <body> |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 innerInput.focus(); | 74 innerInput.focus(); |
| 75 backgroundColorShouldBe('shadow-host', 'rgb(255, 255, 255)'); | 75 backgroundColorShouldBe('shadow-host', 'rgb(255, 255, 255)'); |
| 76 lightdomInput.focus(); | 76 lightdomInput.focus(); |
| 77 backgroundColorShouldBe('shadow-host', 'rgb(255, 255, 255)'); | 77 backgroundColorShouldBe('shadow-host', 'rgb(255, 255, 255)'); |
| 78 host.focus(); | 78 host.focus(); |
| 79 backgroundColorShouldBe('shadow-host', 'rgb(0, 128, 0)'); | 79 backgroundColorShouldBe('shadow-host', 'rgb(0, 128, 0)'); |
| 80 } | 80 } |
| 81 | 81 |
| 82 testWithoutDelegatesFocus(); | 82 testWithoutDelegatesFocus(); |
| 83 </script> | 83 </script> |
| OLD | NEW |