Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Side by Side Diff: LayoutTests/fast/css/first-line-hover-001.html

Issue 169643002: SubtreeStyleChange for :hover/:active/:focus with ::first-letter. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Check for :hover/:active/:focus instead. Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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.
14
15 if (window.eventSender)
16 eventSender.mouseMoveTo(100, 100); // Hover.
17
18 document.body.offsetTop; // Update layout for the hovered state.
19 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/first-letter-hover-002-expected.html ('k') | LayoutTests/fast/css/first-line-hover-001-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698