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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/invalidation-with-scale-transform.html

Issue 2098683003: Use enclosingIntRect when computing paint invalidations across transforms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: none Created 4 years, 6 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/paint/invalidation/invalidation-with-scale-transform-expected.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/paint/invalidation/invalidation-with-scale-transform.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/invalidation-with-scale-transform.html b/third_party/WebKit/LayoutTests/paint/invalidation/invalidation-with-scale-transform.html
new file mode 100644
index 0000000000000000000000000000000000000000..f095b9a734261a164cde83a619c81abf0474402f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/invalidation-with-scale-transform.html
@@ -0,0 +1,13 @@
+<!doctype HTML>
+<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
+<div class="zoom-div" id="zoom" style="transform: scale(0.9); left: 35.5px; height: 45.5px">
+ <div id="target" style="position: absolute; left: 41.5px; top: 67.3px; width: 100px; height: 100px; background: lightgray">
+ </div>
+</div>
+<script>
+onload = runRepaintAndPixelTest;
+function repaintTest() {
+ target.style.left = '42.1px';
+ target.style.top = '67.3px';
+}
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/invalidation-with-scale-transform-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698