| 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 <style> | 3 <style> |
| 4 div#host:focus { display: none; } | 4 div#host:focus { display: none; } |
| 5 </style> | 5 </style> |
| 6 <div id="sandbox"></div> | 6 <div id="sandbox"></div> |
| 7 <div id="host"></div> | 7 <div id="host"></div> |
| 8 <script> | 8 <script> |
| 9 description('Check if shadow host with display:none CSS rule for :focus works.
crbug.com/482830'); | 9 description('Check if shadow host with display:none CSS rule for :focus works.
crbug.com/482830'); |
| 10 | 10 |
| 11 var host; | 11 var host; |
| 12 var root; | 12 var root; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 } | 64 } |
| 65 input.addEventListener('blur', onBlur); | 65 input.addEventListener('blur', onBlur); |
| 66 }); | 66 }); |
| 67 } | 67 } |
| 68 | 68 |
| 69 if (window.testRunner) { | 69 if (window.testRunner) { |
| 70 testFocusShadowHost().then(testFocusInsideShadowRoot).then(function(){ testR
unner.notifyDone(); }); | 70 testFocusShadowHost().then(testFocusInsideShadowRoot).then(function(){ testR
unner.notifyDone(); }); |
| 71 testRunner.waitUntilDone(); | 71 testRunner.waitUntilDone(); |
| 72 } | 72 } |
| 73 </script> | 73 </script> |
| OLD | NEW |