diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-08-14 13:35:08 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-08-14 13:35:08 +0200 |
commit | 0d530b1ca2b21cb72520e3d04134bf350c08f04a (patch) | |
tree | df6b7f50f237b7e1fc4448db2588657a5a34130d /layout/reftests/svg | |
parent | 31c765b050fdbe361a02cf5aae1eb7f6efc8ffff (diff) | |
download | UXP-0d530b1ca2b21cb72520e3d04134bf350c08f04a.tar UXP-0d530b1ca2b21cb72520e3d04134bf350c08f04a.tar.gz UXP-0d530b1ca2b21cb72520e3d04134bf350c08f04a.tar.lz UXP-0d530b1ca2b21cb72520e3d04134bf350c08f04a.tar.xz UXP-0d530b1ca2b21cb72520e3d04134bf350c08f04a.zip |
Issue #438: Do not round the translation of an SVG frame.
This doesn't solve the blurriness yet, but is part of the problem.
Diffstat (limited to 'layout/reftests/svg')
-rw-r--r-- | layout/reftests/svg/css-transform-svg-ref.html | 10 | ||||
-rw-r--r-- | layout/reftests/svg/css-transform-svg.html | 13 | ||||
-rw-r--r-- | layout/reftests/svg/reftest.list | 1 |
3 files changed, 24 insertions, 0 deletions
diff --git a/layout/reftests/svg/css-transform-svg-ref.html b/layout/reftests/svg/css-transform-svg-ref.html new file mode 100644 index 000000000..6167442e7 --- /dev/null +++ b/layout/reftests/svg/css-transform-svg-ref.html @@ -0,0 +1,10 @@ +<!-- + Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ +--> +<style> +</style> +<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"> + <rect id="a" x="0.49" y="0.51" width="2.5" height="2.5"/> + <rect id="b" x="3.5" y="3.5" width="2.5" height="2.5"/> +</svg> diff --git a/layout/reftests/svg/css-transform-svg.html b/layout/reftests/svg/css-transform-svg.html new file mode 100644 index 000000000..c1c63a839 --- /dev/null +++ b/layout/reftests/svg/css-transform-svg.html @@ -0,0 +1,13 @@ +<!-- + Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ +--> +<style> +#a { + transform: scaleY(1); +} +</style> +<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"> + <rect id="a" x="0.49" y="0.51" width="2.5" height="2.5"/> + <rect id="b" x="3.5" y="3.5" width="2.5" height="2.5"/> +</svg> diff --git a/layout/reftests/svg/reftest.list b/layout/reftests/svg/reftest.list index 096628681..a23ab420f 100644 --- a/layout/reftests/svg/reftest.list +++ b/layout/reftests/svg/reftest.list @@ -371,6 +371,7 @@ fuzzy-if(skiaContent,1,610) == textPath-03.svg pass.svg == text-white-space-01.svg text-white-space-01-ref.svg == thin-stroke-01.svg pass.svg == zero-stroke-01.svg pass.svg +== css-transform-svg.html css-transform-svg-ref.html == tspan-dxdy-01.svg tspan-dxdy-ref.svg == tspan-dxdy-02.svg tspan-dxdy-ref.svg == tspan-dxdy-03.svg tspan-dxdy-ref.svg |