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

Side by Side Diff: LayoutTests/fast/repaint/background-currentColor-repaint.html

Issue 1320553004: LayoutObject::adjustStyleDifference doesn't check backgroundColor when repainting (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Improving code styling 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
« no previous file with comments | « no previous file | LayoutTests/fast/repaint/background-currentColor-repaint-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/text-based-repaint.js"></script>
3
4 <style>
5 div {
6 width: 100px;
7 height: 100px;
8 background: currentColor;
9 }
10
11 #div1 {
12 color: blue;
13 }
14
15 #div2 {
16 color: transparent;
17 }
18
19 </style>
20
21 <div id="div1"></div>
22 <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
« no previous file with comments | « no previous file | LayoutTests/fast/repaint/background-currentColor-repaint-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698