OLD | NEW |
(Empty) | |
| 1 <html> |
| 2 <head> |
| 3 <script src="../../../http/tests/inspector/inspector-test.js"></script> |
| 4 <script src="../../../http/tests/inspector/elements-test.js"></script> |
| 5 <style> |
| 6 div { |
| 7 margin: 1px; |
| 8 border: 1px solid black; |
| 9 } |
| 10 |
| 11 #inspect { |
| 12 margin-top: 1px; |
| 13 margin-left: 1px; |
| 14 margin-right: 1px; |
| 15 margin-bottom: 1px; |
| 16 font: 10px Arial; |
| 17 } |
| 18 |
| 19 .container { |
| 20 font-size: 10px; |
| 21 border: 0; |
| 22 } |
| 23 |
| 24 </style> |
| 25 |
| 26 <script> |
| 27 |
| 28 function test() |
| 29 { |
| 30 InspectorTest.selectNodeAndWaitForStyles("inspect", step2); |
| 31 |
| 32 function step2() |
| 33 { |
| 34 InspectorTest.dumpSelectedElementStyles(true, false, false); |
| 35 InspectorTest.completeTest(); |
| 36 } |
| 37 } |
| 38 |
| 39 </script> |
| 40 </head> |
| 41 |
| 42 <body onload="runTest()"> |
| 43 <p>Verifies that inspector figures out overloaded properties correctly.</p> |
| 44 <div class="container"> |
| 45 <div id="inspect">Text.</div> |
| 46 </div> |
| 47 </body> |
| 48 </html> |
OLD | NEW |