OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <body> | 3 <body> |
4 <script src="../../../fast/js/resources/js-test-pre.js"></script> | 4 <script src="../../../fast/js/resources/js-test-pre.js"></script> |
5 <div id="host" tabindex="1"> | 5 <div id="host" tabindex="1"> |
6 <input id="target" type="color" value="#000000"> | 6 <input id="target" type="color" value="#000000"> |
7 </div> | 7 </div> |
8 <script> | 8 <script> |
9 | 9 |
10 shadow = host.createShadowRoot(); | 10 shadow = host.createShadowRoot(); |
(...skipping 22 matching lines...) Expand all Loading... |
33 eventSender.mouseDown(); | 33 eventSender.mouseDown(); |
34 eventSender.mouseUp(); | 34 eventSender.mouseUp(); |
35 | 35 |
36 waitUntilShown(function() { | 36 waitUntilShown(function() { |
37 testRunner.setWindowIsKey(false); // This triggers a style recalc. | 37 testRunner.setWindowIsKey(false); // This triggers a style recalc. |
38 ensureOpeningFor(10, finishJSTest); // Try several times to ensure nothing
wrong happens asynchronously. | 38 ensureOpeningFor(10, finishJSTest); // Try several times to ensure nothing
wrong happens asynchronously. |
39 }); | 39 }); |
40 } | 40 } |
41 | 41 |
42 </script> | 42 </script> |
43 <script src="../../../fast/js/resources/js-test-post.js"></script> | |
44 </body> | 43 </body> |
45 </html> | 44 </html> |
OLD | NEW |