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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/svg/resize-image-subpixel-expected.html

Issue 2458233002: Fix under-invalidation on SVG shape/image resize in subpixels (Closed)
Patch Set: - Created 4 years, 1 month 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/svg/resize-image-subpixel-expected.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/svg/resize-image-subpixel-expected.html b/third_party/WebKit/LayoutTests/paint/invalidation/svg/resize-image-subpixel-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..128a61c8dc98864f93565ce6f189ccf2d3984f44
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/svg/resize-image-subpixel-expected.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+Tests subpixel resize of SVG image. Passes if the resized image fully covers the red rect.
+<div style="position: absolute; top: 100px; left: 0; transform-origin: 0 0; transform: scale(20)">
+ <svg width="10" height="10">
+ <image href="../../../svg/W3C-SVG-1.1/resources/smiley.png" width="8.8" height="8" preserveAspectRatio="none"/>
+ </svg>
+</div>

Powered by Google App Engine
This is Rietveld 408576698