| Index: third_party/WebKit/LayoutTests/paint/invalidation/svg/resize-shape-subpixel.html
|
| diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/svg/resize-shape-subpixel.html b/third_party/WebKit/LayoutTests/paint/invalidation/svg/resize-shape-subpixel.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e312e4a14cc9d8a9195c2188044a8f2e07e13e8a
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/paint/invalidation/svg/resize-shape-subpixel.html
|
| @@ -0,0 +1,14 @@
|
| +<!DOCTYPE html>
|
| +Tests subpixel resize of SVG shape. Passes if the resized green rect 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"/>
|
| + <rect id="target" fill="green" width="8.1" height="8"/>
|
| + </svg>
|
| +</div>
|
| +<script src="../../../resources/run-after-layout-and-paint.js"></script>
|
| +<script>
|
| +runAfterLayoutAndPaint(function() {
|
| + target.style.width = '8.8px';
|
| +}, true);
|
| +</script>
|
|
|