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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/background-currentColor-repaint-expected.html

Issue 1302183007: Convert some text-based-repaint tests for spv2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="resources/text-based-repaint.js"></script>
3 2
4 <style> 3 <style>
5 div { 4 div {
6 width: 100px; 5 width: 100px;
7 height: 100px; 6 height: 100px;
8 background: currentColor; 7 background: currentColor;
9 } 8 }
10 9
11 #div1 { 10 #div1 {
12 color: blue; 11 color: transparent;
13 } 12 }
14 13
15 #div2 { 14 #div2 {
16 color: transparent; 15 color: blue;
17 } 16 }
18 17
19 </style> 18 </style>
20 19
21 <div id="div1"></div> 20 <div id="div1"></div>
22 <div id="div2"></div> 21 <div id="div2"></div>
23
24 <script>
25 function repaintTest()
26 {
27 div1.style.color = 'transparent';
28 div2.style.color = 'blue';
29 }
30
31 window.onload = runRepaintTest;
32
33 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698