| 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> | 4 <script> |
| 5 | 5 |
| 6 function test() | 6 function test() |
| 7 { | 7 { |
| 8 var nodeInfo = {}; | 8 var nodeInfo = {}; |
| 9 InspectorTest.eventHandler["DOM.setChildNodes"] = setChildNodes; | 9 InspectorTest.eventHandler["DOM.setChildNodes"] = setChildNodes; |
| 10 InspectorTest.sendCommand("DOM.enable", {}); | 10 InspectorTest.sendCommand("DOM.enable", {}); |
| 11 InspectorTest.sendCommand("DOM.getNodeForLocation", { "x": 100, "y": 200 },
onGetNodeForLocation); | 11 InspectorTest.sendCommand("DOM.getNodeForLocation", { "x": 100, "y": 200 },
onGetNodeForLocation); |
| 12 | 12 |
| 13 function onGetNodeForLocation(message) | 13 function onGetNodeForLocation(message) |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 Several<br> | 56 Several<br> |
| 57 Lines<br> | 57 Lines<br> |
| 58 Of<br> | 58 Of<br> |
| 59 Text<br> | 59 Text<br> |
| 60 <div style="position:absolute;top:100;left:0;width:100;height:100;background:red
"></div> | 60 <div style="position:absolute;top:100;left:0;width:100;height:100;background:red
"></div> |
| 61 <div style="position:absolute;top:200;left:100;width:100;height:100;background:g
reen"></div> | 61 <div style="position:absolute;top:200;left:100;width:100;height:100;background:g
reen"></div> |
| 62 <div style="position:absolute;top:150;left:50;width:100;height:100;background:bl
ue;transform:rotate(45deg);"></div> | 62 <div style="position:absolute;top:150;left:50;width:100;height:100;background:bl
ue;transform:rotate(45deg);"></div> |
| 63 </div> | 63 </div> |
| 64 </body> | 64 </body> |
| 65 </html> | 65 </html> |
| OLD | NEW |