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

Unified 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, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/compositing/webgl/webgl-with-accelerated-background-color-expected.html
diff --git a/LayoutTests/compositing/webgl/webgl-with-accelerated-background-color-expected.html b/LayoutTests/compositing/webgl/webgl-with-accelerated-background-color-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..197fec430882ec41d93b1195d7fa273931094891
--- /dev/null
+++ b/LayoutTests/compositing/webgl/webgl-with-accelerated-background-color-expected.html
@@ -0,0 +1,35 @@
+<!DOCTYPE>
+<html>
+<head>
+<style>
+ #background {
+ width: 200px;
+ height: 200px;
+ display: block;
+ }
+ #canvas {
+ width: 200px;
+ height: 200px;
+ background-color: red;
+ display: block;
+ }
+ .blue {
+ width: 50px;
+ height: 50px;
+ background-color: rgba(0, 0, 255, 0.5);
+ display: block;
+ top: -50px;
+ position: relative;
+ }
+ .composited {
+ -webkit-transform: translateZ(0);
+ }
+</style>
+</head>
+<body>
+<div id="background">
+ <div id="canvas" class="composited"></div>
+ <div class="blue composited"></div>
+</div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698