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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/svg/resize-image-subpixel.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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 Tests subpixel resize of SVG image. Passes if the resized image fully covers the red rect.
3 <div style="position: absolute; top: 100px; left: 0; transform-origin: 0 0; tran sform: scale(20)">
4 <svg width="10" height="10">
5 <rect fill="red" width="8.8" height="8"/>
6 <image id="target" href="../../../svg/W3C-SVG-1.1/resources/smiley.png" widt h="8.1" height="8" preserveAspectRatio="none"/>
7 </svg>
8 </div>
9 <script src="../../../resources/run-after-layout-and-paint.js"></script>
10 <script>
11 if (window.internals)
12 internals.settings.setUseDefaultImageInterpolationQuality(true);
13 runAfterLayoutAndPaint(function() {
14 target.style.width = '8.8px';
15 }, true);
16 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698