OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto
r-protocol-test.js"></script> | 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/resource
s/inspector-protocol-test.js"></script> |
4 <script type="text/javascript" src="../../http/tests/inspector-protocol/css-prot
ocol-test.js"></script> | 4 <script type="text/javascript" src="../resources/css-protocol-test.js"></script> |
5 <script type="text/javascript" src="../../http/tests/inspector-protocol/dom-prot
ocol-test.js"></script> | 5 <script type="text/javascript" src="../resources/dom-protocol-test.js"></script> |
6 <script type="text/javascript"> | 6 <script type="text/javascript"> |
7 | 7 |
8 function loadStylesheet(url) | 8 function loadStylesheet(url) |
9 { | 9 { |
10 var link = document.createElement("link"); | 10 var link = document.createElement("link"); |
11 link.rel = "stylesheet"; | 11 link.rel = "stylesheet"; |
12 link.href = url; | 12 link.href = url; |
13 var promise = new Promise(fulfill => { | 13 var promise = new Promise(fulfill => { |
14 link.addEventListener("load", requestAnimationFrame.bind(window, fulfill
)); | 14 link.addEventListener("load", requestAnimationFrame.bind(window, fulfill
)); |
15 }); | 15 }); |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 </script> | 90 </script> |
91 <link rel="stylesheet" href="resources/coverage.css"> | 91 <link rel="stylesheet" href="resources/coverage.css"> |
92 </head> | 92 </head> |
93 <body onload="runTest();"> | 93 <body onload="runTest();"> |
94 <h1 class="class">Class Selector</h1> | 94 <h1 class="class">Class Selector</h1> |
95 <p id="id" class="usedStraightAway">ID Selector</p> | 95 <p id="id" class="usedStraightAway">ID Selector</p> |
96 <div></div> | 96 <div></div> |
97 | 97 |
98 </body> | 98 </body> |
99 </html> | 99 </html> |
OLD | NEW |