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

Side by Side Diff: LayoutTests/paint/invalidation/non-text-link-invalidation-optimization.html

Issue 1332233002: Invalidate whitespace text on text color changes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: TextOrColorChanged -> TextDecorationOrColorChanged 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 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
3 <style>
4 div {
5 display: block;
6 width: 450px;
7 height: 100px;
8 color: red;
9 }
10 div:hover {
11 color: green;
12 text-decoration: underline;
13 }
14 </style>
15
16 <!-- Ensure the optimization in https://src.chromium.org/viewvc/blink?view=rev&r evision=152046 doesn't break. -->
17 <div id="div">
18 This test <img src="resources/bluesquare.png" width="10px" height="10px"> passes if <span>only</span> text is invalidated and <img src="resources/bluesquare.png " width="10px" height="10px"> no <img src="resources/bluesquare.png" width="10px " height="10px"> images.
19 </div>
20
21 <script>
22 onload = runRepaintTest;
23 function repaintTest() {
24 if (window.eventSender);
25 eventSender.mouseMoveTo(div.offsetLeft + 5, div.offsetTop + 5);
26 finishRepaintTest();
27 }
28 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698