Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dynamic / hover-style-recalc-crash.html
blobae230c86c5c213761b70e924feeda7783f143d3d
1 <style>
2 div#a { width: 100px; height: 100px; background-color: lightblue; }
3 div#b { display: none; }
4 div#b a { display: block; width: 100px; height: 100px; background-color: blue; }
5 div#a:hover + div { display:block; }
6 </style>
7 <p>
8 Test for <i><a href="rdar://problem/7873647">rdar://problem/7873647</a>
9 Crash when updating hover state</i>.
10 </p>
11 <p>
12 Hover over the light blue square, then move down into the blue square. The browser should not crash.
13 </p>
14 <div id="a"></div>
15 <div id="b">
16 <a></a>
17 </div>
18 <script>
19 if (window.testRunner) {
20 testRunner.dumpAsText();
21 document.body.offsetTop;
22 var y = document.getElementById("a").getBoundingClientRect().top;
23 eventSender.mouseMoveTo(50, y + 50);
24 eventSender.mouseMoveTo(50, y + 150);
26 </script>