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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/background-currentColor-repaint.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
(Empty)
1 <!-- Based on fast/repaint/background-currentColor-repaint.html -->
2 <!DOCTYPE html>
3 <script src="resources/paint-invalidation-test.js"></script>
4
5 <style>
6 div {
7 width: 100px;
8 height: 100px;
9 background: currentColor;
10 }
11
12 #div1 {
13 color: blue;
14 }
15
16 #div2 {
17 color: transparent;
18 }
19
20 </style>
21
22 <div id="div1"></div>
23 <div id="div2"></div>
24
25 <script>
26 window.expectedPaintInvalidationObjects = [
27 "LayoutBlockFlow DIV id='div1'",
28 "LayoutBlockFlow DIV id='div2'",
29 ];
30 function paintInvalidationTest()
31 {
32 div1.style.color = 'transparent';
33 div2.style.color = 'blue';
34 }
35
36 window.onload = runPaintInvalidationTest;
37
38 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698