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

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: With fixed layout test 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="resources/text-based-repaint.js"></script>
3
4 <style>
5 #input1 {
Timothy Loh 2015/08/28 04:48:44 input is a weird name.. I would've written: div
nainar1 2015/08/28 05:02:40 Done
6 width: 100px;
7 height: 100px;
8 background: currentColor;
9 color: blue;
10 }
11
12 #input2 {
13 width: 100px;
14 height: 100px;
15 background: currentColor;
16 color: transparent;
17 }
18
19 </style>
20
21 <div id="input1"></div>
22 <div id="input2"></div>
23
24 <script>
25 function repaintTest()
26 {
27 input1.style.color = 'transparent';
28 input2.style.color = 'blue';
29 }
30
31 window.onload = runRepaintTest;
32
33 </script>
34
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698