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

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

Issue 858863002: Added test for issue 450002. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/css/getComputedStyle/getComputedStyle-first-letter-first-line-hover-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../../resources/js-test.js"></script>
3 <style>
4 #p { color: red }
5 #p::first-line { color: green }
6 #p::first-letter { background-color: lime; }
7 #p:hover { text-transform: lowercase }
8 </style>
9 <p id="p">Hover me.</p>
10 <script>
11 var green = "rgb(0, 128, 0)";
12 shouldBe("getComputedStyle(p, '::first-letter').color", "green");
13
14 if (eventSender)
15 eventSender.mouseMoveTo(p.offsetLeft+1, p.offsetTop+1);
16
17 shouldBe("getComputedStyle(p, '::first-letter').color", "green");
18 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/getComputedStyle/getComputedStyle-first-letter-first-line-hover-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698