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

Unified Diff: third_party/WebKit/LayoutTests/compositing/overflow/clip-parent-of-non-scrolled-expected.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
Index: third_party/WebKit/LayoutTests/compositing/overflow/clip-parent-of-non-scrolled-expected.html
diff --git a/third_party/WebKit/LayoutTests/compositing/overflow/clip-parent-of-non-scrolled-expected.html b/third_party/WebKit/LayoutTests/compositing/overflow/clip-parent-of-non-scrolled-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..3b589993d512c6193272f0ec2ffaf7dd681a5408
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/compositing/overflow/clip-parent-of-non-scrolled-expected.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<style>
+#escaped-clip {
+ width: 100px;
+ height: 100px;
+ 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.

Powered by Google App Engine
This is Rietveld 408576698