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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/outline-current-color.html

Issue 2836143003: Invalidate border/outline on color change only if they use current color (Closed)
Patch Set: rebaselined Created 3 years, 7 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 <style>
3 div {
4 margin: 50px;
5 outline-width: 10px;
6 outline-style: solid;
7 width: 100px;
8 height: 100px;
9 }
10 </style>
11 <div id="fixedColor" style="outline-color: blue"></div>
12 <div id="currentColor" style="outline-color: currentColor"></div>
13 <script src="resources/text-based-repaint.js"></script>
14 <script>
15 function repaintTest() {
16 fixedColor.style.color = 'green';
17 currentColor.style.color = 'green';
18 }
19 onload = runRepaintAndPixelTest;
20 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698