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

Unified Diff: third_party/WebKit/LayoutTests/compositing/squashing/squash-transformed-with-clip-expected.html

Issue 2830013007: [blink] Skip ancestor clip in PaintLayerPainter for squashed layers. (Closed)
Patch Set: aye aye sir 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
Index: third_party/WebKit/LayoutTests/compositing/squashing/squash-transformed-with-clip-expected.html
diff --git a/third_party/WebKit/LayoutTests/compositing/squashing/squash-transformed-with-clip-expected.html b/third_party/WebKit/LayoutTests/compositing/squashing/squash-transformed-with-clip-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..b4613af743d960cf34b187c7ef18f4cd902235b8
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/compositing/squashing/squash-transformed-with-clip-expected.html
@@ -0,0 +1,18 @@
+<style>
+#overlap {
+ width: 10px;
+ height: 100px;
+ background: green;
+}
+#transformed {
+ position: absolute;
+ left: 0;
+ top: 50px;
+ will-change: opacity;
+}
+</style>
+<div id="overlap"></div>
+<div id="transformed">
+ This test succeeds if this text is visible.
+</div>
+This test verifies squashed transformed elements have their ancestor clip and local clip applied in the correct spaces.

Powered by Google App Engine
This is Rietveld 408576698