| 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 | |
| 6 <style> | |
| 7 .foo { | |
| 8 color: blue; | |
| 9 } | |
| 10 </style> | |
| 11 | |
| 12 <script> | |
| 13 | |
| 14 function test() | |
| 15 { | |
| 16 InspectorTest.selectNodeAndWaitForStyles("foo", step2); | |
| 17 | |
| 18 function step2() | |
| 19 { | |
| 20 InspectorTest.dumpSelectedElementStyles(true, false, true); | |
| 21 InspectorTest.completeTest(); | |
| 22 } | |
| 23 } | |
| 24 | |
| 25 </script> | |
| 26 </head> | |
| 27 | |
| 28 <body onload="runTest()"> | |
| 29 <p> | |
| 30 Tests that elements panel shows proper inline style locations in the sidebar pan
el. | |
| 31 </p> | |
| 32 | |
| 33 <div id="foo" class="foo" style="display:none">Foo</div> | |
| 34 <iframe src="resources/styles-source-lines-inline-iframe.html"> | |
| 35 | |
| 36 </body> | |
| 37 </html> | |
| OLD | NEW |