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

Unified Diff: third_party/WebKit/LayoutTests/compositing/overflow/clip-parent-of-non-scrolled.html

Issue 2295483003: CompositingInputsUpdater should do more clip parent analysis (Closed)
Patch Set: Created 4 years, 4 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 | « no previous file | third_party/WebKit/LayoutTests/compositing/overflow/clip-parent-of-non-scrolled-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/compositing/overflow/clip-parent-of-non-scrolled.html
diff --git a/third_party/WebKit/LayoutTests/compositing/overflow/clip-parent-of-non-scrolled.html b/third_party/WebKit/LayoutTests/compositing/overflow/clip-parent-of-non-scrolled.html
new file mode 100644
index 0000000000000000000000000000000000000000..83d69811ac85dab22974db49555f67ad44732a7b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/compositing/overflow/clip-parent-of-non-scrolled.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<style>
+#escaped-clip {
+ width: 100px;
+ height: 100px;
+ overflow: hidden;
+ opacity: 0.5;
+}
+
+#escaping-child {
+ position: absolute;
+ width: 100px;
+ height: 100px;
+ background: green;
+ transform: translate3d(50px, 50px, 0);
+}
+</style>
+<div id="escaped-clip">
+ <div id="escaping-child"></div>
+</div>
+The test succeeds if a green box of 100x100 instead of 50x50 can be seen.
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/compositing/overflow/clip-parent-of-non-scrolled-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698