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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/compositing/static-to-absolute-with-clip.html

Issue 2570463004: [SPInvalidation] Update paint properties on css clip change (Closed)
Patch Set: Rebase Created 4 years 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/paint/invalidation/compositing/static-to-absolute-with-clip.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/compositing/static-to-absolute-with-clip.html b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/static-to-absolute-with-clip.html
new file mode 100644
index 0000000000000000000000000000000000000000..6667a729e8ce94b1ab245ba842668e0b281ed289
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/static-to-absolute-with-clip.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<div id="clipper" style="width: 100px; height: 100px;
+ background-color: green; clip: rect(25px 75px 75px 25px)">
+</div>
+<script src="../../../resources/run-after-layout-and-paint.js"></script>
+<script>
+runAfterLayoutAndPaint(function() {
+ clipper.style.position = 'absolute';
+}, true);
+</script>

Powered by Google App Engine
This is Rietveld 408576698