Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / first-line-hover-001.html
blob5e7c9097b854f9a26815009eab665844bd186299
1 <!DOCTYPE html>
2 <style>
3 #t { width: 600px; height: 400px; }
4 #t::first-line { background-color: red; }
5 #t:hover::first-line { background-color: green; }
6 </style>
7 <div id="t">
8 <div>
9 <p>This text should have a green background when hovered.</p>
10 </div>
11 </div>
12 <script>
13 document.body.offsetTop; // Force layout. The mouse is not tracked before first layout.
15 if (window.eventSender)
16 eventSender.mouseMoveTo(100, 100); // Hover.
18 document.body.offsetTop; // Update layout for the hovered state.
19 </script>