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

Side by Side Diff: LayoutTests/compositing/webgl/webgl-with-accelerated-background-color-expected.html

Issue 63943006: Re-enable solid background color optimization for composited layers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add window.internals.forceCompositingUpdate(document) to webgl test to avoid flaky Created 7 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
OLDNEW
(Empty)
1 <!DOCTYPE>
2 <html>
3 <head>
4 <style>
5 #background {
6 width: 200px;
7 height: 200px;
8 display: block;
9 }
10 #canvas {
11 width: 200px;
12 height: 200px;
13 background-color: red;
14 display: block;
15 }
16 .blue {
17 width: 50px;
18 height: 50px;
19 background-color: rgba(0, 0, 255, 0.5);
20 display: block;
21 top: -50px;
22 position: relative;
23 }
24 .composited {
25 -webkit-transform: translateZ(0);
26 }
27 </style>
28 </head>
29 <body>
30 <div id="background">
31 <div id="canvas" class="composited"></div>
32 <div class="blue composited"></div>
33 </div>
34 </body>
35 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698