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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/compositing/iframe-clip-removed.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/iframe-clip-removed.html
diff --git a/third_party/WebKit/LayoutTests/compositing/layer-creation/iframe-clip-removed-expected.html b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/iframe-clip-removed.html
similarity index 58%
rename from third_party/WebKit/LayoutTests/compositing/layer-creation/iframe-clip-removed-expected.html
rename to third_party/WebKit/LayoutTests/paint/invalidation/compositing/iframe-clip-removed.html
index 46460bdfd97323988da82d36783c0272260afc6d..0c554ebba647b36552dfc9fa39ac7ab448f1fa48 100644
--- a/third_party/WebKit/LayoutTests/compositing/layer-creation/iframe-clip-removed-expected.html
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/iframe-clip-removed.html
@@ -16,17 +16,19 @@
#clip {
position: absolute;
+ clip: rect(0px, 100px, 100px, 0px);
}
</style>
-<script>
- if (window.testRunner && window.internals) {
- internals.settings.setPreferCompositingToLCDTextEnabled(true);
- }
-
-</script>
-
<div id="scroller">
<div id="clip">
<iframe id="subframe"></iframe>
</div>
</div>
+<script src="../../../resources/run-after-layout-and-paint.js"></script>
+<script>
+if (window.internals)
+ internals.settings.setPreferCompositingToLCDTextEnabled(true);
+runAfterLayoutAndPaint(function() {
+ clip.style.clip = "auto";
+}, true);
+</script>

Powered by Google App Engine
This is Rietveld 408576698