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

Unified Diff: LayoutTests/compositing/background-color/background-color-drawn-over-child-expected.html

Issue 183833020: Re-land "Drop background color optimization for composited layers" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make Mac test bot pass Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/compositing/background-color/background-color-drawn-over-child-expected.html
diff --git a/LayoutTests/compositing/background-color/background-color-drawn-over-child-expected.html b/LayoutTests/compositing/background-color/background-color-drawn-over-child-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..807c193664282899f1f7e33b72fdf69344265753
--- /dev/null
+++ b/LayoutTests/compositing/background-color/background-color-drawn-over-child-expected.html
@@ -0,0 +1,40 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <style type="text/css">
+ #backgournd_color_container {
+ background-color: green;
+ position: absolute;
+ -webkit-transform: translateZ(0);
+ }
+ #nested_container {
+ width: 200px;
+ height: 200px;
+ position: relative;
+ }
+ #issue {
+ width: 100px;
+ height: 100px;
+ background-color: red;
+ position: absolute;
+ }
+ #compositing {
+ left: 100px;
+ top: 100px;
+ width: 100px;
+ height: 100px;
+ position: absolute;
+ background-color: blue;
+ -webkit-transform: translateZ(0);
+ }
+ </style>
+</head>
+<body>
+ <div id="backgournd_color_container">
+ <div id="nested_container">
+ <div id="issue"></div>
+ <div id="compositing"></div>
+ </div>
+ </div>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698