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

Unified Diff: third_party/WebKit/LayoutTests/compositing/opacity-with-mask.html

Issue 2821903004: Disable the direct-drawing optimization for quads with opacity. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | third_party/WebKit/LayoutTests/compositing/opacity-with-mask-expected.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/compositing/opacity-with-mask.html
diff --git a/third_party/WebKit/LayoutTests/compositing/opacity-with-mask.html b/third_party/WebKit/LayoutTests/compositing/opacity-with-mask.html
new file mode 100644
index 0000000000000000000000000000000000000000..1eaca2e3c0ed57a951b00d677c54ab41472790b6
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/compositing/opacity-with-mask.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <style>
+ .outer {
+ position: relative;
+ width: 280px;
+ height: 160px;
+ background-color: green;
+ border-radius:3px;
+ overflow:hidden;
+ will-change: transform;
+ }
+
+ .inner {
+ position:absolute;
+ top:0;
+ left:0;
+ right:0;
+ bottom:0;
+ background-color:red;
+ border: 1px solid black;
+ opacity: 0.5;
+ will-change: transform;
+ }
+ </style>
+ </head>
+ <body>
+ <div class="outer">
+ <div class="inner"></div>
+ </div>
+ </body>
+</html>
« no previous file with comments | « cc/output/gl_renderer.cc ('k') | third_party/WebKit/LayoutTests/compositing/opacity-with-mask-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698