OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | 2 |
3 <style> | 3 <style> |
4 html, body { | 4 html, body { |
5 margin: 0; | 5 margin: 0; |
6 padding: 0; | 6 padding: 0; |
7 font-size: 14px; | 7 font-size: 14px; |
8 } | 8 } |
9 | 9 |
10 div:before { | 10 div:before { |
11 display: block; | 11 display: block; |
12 content: "Clicking the red border should not crash."; | 12 content: "Clicking the red border should not crash."; |
13 border: 5px solid red; | 13 border: 5px solid red; |
14 } | 14 } |
15 | 15 |
16 div:after { | 16 div:after { |
17 display: table; | 17 display: table; |
18 content: "Clicking the margin should not crash."; | 18 content: "Clicking the margin should not crash."; |
19 margin: 10px; | 19 margin: 10px; |
20 background: yellow; | 20 background: yellow; |
21 } | 21 } |
22 </style> | 22 </style> |
23 | 23 |
24 <div></div> | 24 <div></div> |
25 | 25 |
26 <p>Bug 105545 - RenderBlock and RenderBox hit testing should ignore PseudoElemen
ts</p> | 26 <p>Bug 105545 - RenderBlock and LayoutBox hit testing should ignore PseudoElemen
ts</p> |
27 | 27 |
28 <script> | 28 <script> |
29 if (window.testRunner) | 29 if (window.testRunner) |
30 testRunner.dumpAsText(); | 30 testRunner.dumpAsText(); |
31 | 31 |
32 if (window.eventSender) { | 32 if (window.eventSender) { |
33 eventSender.mouseMoveTo(0, 0); | 33 eventSender.mouseMoveTo(0, 0); |
34 eventSender.mouseDown(); | 34 eventSender.mouseDown(); |
35 eventSender.mouseUp(); | 35 eventSender.mouseUp(); |
36 eventSender.mouseMoveTo(0, 40); | 36 eventSender.mouseMoveTo(0, 40); |
37 eventSender.mouseDown(); | 37 eventSender.mouseDown(); |
38 eventSender.mouseUp(); | 38 eventSender.mouseUp(); |
39 } | 39 } |
40 </script> | 40 </script> |
OLD | NEW |