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

Side by Side Diff: LayoutTests/paint/invalidation/text-decoration-invalidation.html

Issue 1345833003: Revert of Invalidate whitespace text on text color changes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 3 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 div {
4 display: block;
5 width: 400px;
6 height: 100px;
7 color: blue;
8 }
9 #underlineHover:hover {
10 text-decoration: underline;
11 }
12 #underlineNoHover:hover {
13 text-decoration: underline;
14 }
15 </style>
16
17 <div id="underlineHover">
18 <span>When</span> <span>hovered, </span><span>there</span> <span>should</span> <span> be </span> <span>no</span> <span>gaps</span> <span>in</span> <span>the </span> <span>underline.</span>
19 </div>
20
21 <div id="underlineNoHover">
22 <span>When</span> <span>not hovered, </span><span>there</span> <span>should</spa n> <span> be </span> <span>no</span> <span>underlines.</span>
23 </div>
24
25 <script>
26 if (window.testRunner) {
27 testRunner.waitUntilDone();
28 if (window.eventSender);
29 eventSender.mouseMoveTo(underlineNoHover.offsetLeft + 10, underlineNoHov er.offsetTop + 10);
30 testRunner.layoutAndPaintAsyncThen(function(){
31 if (window.eventSender);
32 eventSender.mouseMoveTo(underlineHover.offsetLeft + 10, underlineHov er.offsetTop + 10);
33 testRunner.notifyDone();
34 });
35 }
36 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698