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

Unified Diff: third_party/WebKit/LayoutTests/compositing/squashing/squash-transformed-with-clip.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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/compositing/squashing/squash-transformed-with-clip-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/squashing/squash-transformed-with-clip.html
diff --git a/third_party/WebKit/LayoutTests/compositing/squashing/squash-transformed-with-clip.html b/third_party/WebKit/LayoutTests/compositing/squashing/squash-transformed-with-clip.html
new file mode 100644
index 0000000000000000000000000000000000000000..7af100e264bfa0f19b7fd44e4ec83e93e68e9bdf
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/compositing/squashing/squash-transformed-with-clip.html
@@ -0,0 +1,20 @@
+<style>
+#overlap {
+ width: 10px;
+ height: 100px;
+ background: green;
+ will-change: transform;
+}
+#transformed {
+ position: absolute;
+ left: 0;
+ top: 0;
+ overflow: hidden;
+ transform: translate(0, 50px);
+}
+</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.
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/compositing/squashing/squash-transformed-with-clip-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698