| Index: third_party/WebKit/LayoutTests/paint/invalidation/svg/resize-image-subpixel.html
|
| diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/svg/resize-image-subpixel.html b/third_party/WebKit/LayoutTests/paint/invalidation/svg/resize-image-subpixel.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3890895cc0a802ac0a3ed5781ca52a7006f80be3
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/paint/invalidation/svg/resize-image-subpixel.html
|
| @@ -0,0 +1,16 @@
|
| +<!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">
|
| + <rect fill="red" width="8.8" height="8"/>
|
| + <image id="target" href="../../../svg/W3C-SVG-1.1/resources/smiley.png" width="8.1" height="8" preserveAspectRatio="none"/>
|
| + </svg>
|
| +</div>
|
| +<script src="../../../resources/run-after-layout-and-paint.js"></script>
|
| +<script>
|
| +if (window.internals)
|
| + internals.settings.setUseDefaultImageInterpolationQuality(true);
|
| +runAfterLayoutAndPaint(function() {
|
| + target.style.width = '8.8px';
|
| +}, true);
|
| +</script>
|
|
|