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

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: Fix build bot 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..04c49f7647e103dce611c12e7c3b1af74c9c3cea
--- /dev/null
+++ b/LayoutTests/compositing/webgl/webgl-with-accelerated-background-color-expected.html
@@ -0,0 +1,36 @@
+<!DOCTYPE>
+<html>
+<head>
+<style type="text/css" media="screen">
+ #background {
+ width: 200px;
+ height: 200px;
+ display: block;
+ }
+ #canvas {
+ width: 200px;
+ height: 200px;
+ background-color: red;
+ display: block;
+ position: absolute;
+ }
+ .blue {
+ width: 50px;
+ height: 50px;
+ background-color: rgba(0, 0, 255, 0.5);
+ display: block;
+ top: 50px;
+ position: absolute;
+ }
+ .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