Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css-generated-content / block-and-box-hit-testing.html
blob0852ff03c1959fcf58ff9ac55ab67702b099eef6
1 <!DOCTYPE html>
3 <style>
4 html, body {
5 margin: 0;
6 padding: 0;
7 font-size: 14px;
10 div:before {
11 display: block;
12 content: "Clicking the red border should not crash.";
13 border: 5px solid red;
16 div:after {
17 display: table;
18 content: "Clicking the margin should not crash.";
19 margin: 10px;
20 background: yellow;
22 </style>
24 <div></div>
26 <p>Bug 105545 - LayoutBlockFlow and LayoutBox hit testing should ignore PseudoElements</p>
28 <script>
29 if (window.testRunner)
30 testRunner.dumpAsText();
32 if (window.eventSender) {
33 eventSender.mouseMoveTo(0, 0);
34 eventSender.mouseDown();
35 eventSender.mouseUp();
36 eventSender.mouseMoveTo(0, 40);
37 eventSender.mouseDown();
38 eventSender.mouseUp();
40 </script>