| Index: LayoutTests/fast/css/first-line-hover-001.html
|
| diff --git a/LayoutTests/fast/css/first-line-hover-001.html b/LayoutTests/fast/css/first-line-hover-001.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5e7c9097b854f9a26815009eab665844bd186299
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/css/first-line-hover-001.html
|
| @@ -0,0 +1,19 @@
|
| +<!DOCTYPE html>
|
| +<style>
|
| + #t { width: 600px; height: 400px; }
|
| + #t::first-line { background-color: red; }
|
| + #t:hover::first-line { background-color: green; }
|
| +</style>
|
| +<div id="t">
|
| + <div>
|
| + <p>This text should have a green background when hovered.</p>
|
| + </div>
|
| +</div>
|
| +<script>
|
| +document.body.offsetTop; // Force layout. The mouse is not tracked before first layout.
|
| +
|
| +if (window.eventSender)
|
| + eventSender.mouseMoveTo(100, 100); // Hover.
|
| +
|
| +document.body.offsetTop; // Update layout for the hovered state.
|
| +</script>
|
|
|