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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/composited-overflow-with-borderbox-background.html

Issue 2511893002: Paint solid color background into both scrolling contents layer and graphics layer. (Closed)
Patch Set: Add Mac rebaselines. Created 4 years 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 | third_party/WebKit/LayoutTests/paint/invalidation/composited-overflow-with-borderbox-background-expected.png » ('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 <script>
4 function repaintTest() {
5 scroller.style.background = 'green';
6 }
7 onload = runRepaintAndPixelTest;
8 </script>
9 <style>
10 #scroller {
11 background: red;
12 contain: paint;
13 border: 10px solid rgba(0, 0, 0, 0.5);
14 overflow: scroll;
15 width: 200px;
16 height: 200px;
17 }
18
19 .spacer {
20 height: 300px;
21 }
22 </style>
23 <!-- #scroller has a solid color border-box background which will be painted
24 into both the scrolling contents and graphics layers. Both of these should
25 be invalidated and repainted when the color changes to green. The border
26 should appear dark green. -->
27 <div id="scroller">
28 <div class="spacer"></div>
29 </div>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/composited-overflow-with-borderbox-background-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698