# HG changeset patch # User Seth Fowler # Date 1370899030 25200 # Node ID b2b9241d838e781e6422cfb8c45b5c3761eee6b3 # Parent bd616ba43c9457e6321be95a2e3418a0d96f4d62 Bug 600207 (Part 2) - Tests for SVG image scaling in the presence of page zoom. r=dholbert diff --git a/layout/reftests/svg/as-image/zoom/circle.svg b/layout/reftests/svg/as-image/zoom/circle.svg new file mode 100644 --- /dev/null +++ b/layout/reftests/svg/as-image/zoom/circle.svg @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/svg/as-image/zoom/img-fuzzy-zoomIn-1-ref.html b/layout/reftests/svg/as-image/zoom/img-fuzzy-zoomIn-1-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/svg/as-image/zoom/img-fuzzy-zoomIn-1-ref.html @@ -0,0 +1,23 @@ + + + + + +
+ + diff --git a/layout/reftests/svg/as-image/zoom/img-fuzzy-zoomIn-1.html b/layout/reftests/svg/as-image/zoom/img-fuzzy-zoomIn-1.html new file mode 100644 --- /dev/null +++ b/layout/reftests/svg/as-image/zoom/img-fuzzy-zoomIn-1.html @@ -0,0 +1,23 @@ + + + + + +
+ + diff --git a/layout/reftests/svg/as-image/zoom/img-fuzzy-zoomOut-1-ref.html b/layout/reftests/svg/as-image/zoom/img-fuzzy-zoomOut-1-ref.html new file mode 100644 --- /dev/null +++ b/layout/reftests/svg/as-image/zoom/img-fuzzy-zoomOut-1-ref.html @@ -0,0 +1,23 @@ + + + + + +
+ + diff --git a/layout/reftests/svg/as-image/zoom/img-fuzzy-zoomOut-1.html b/layout/reftests/svg/as-image/zoom/img-fuzzy-zoomOut-1.html new file mode 100644 --- /dev/null +++ b/layout/reftests/svg/as-image/zoom/img-fuzzy-zoomOut-1.html @@ -0,0 +1,23 @@ + + + + + +
+ + diff --git a/layout/reftests/svg/as-image/zoom/reftest.list b/layout/reftests/svg/as-image/zoom/reftest.list --- a/layout/reftests/svg/as-image/zoom/reftest.list +++ b/layout/reftests/svg/as-image/zoom/reftest.list @@ -1,6 +1,10 @@ # Tests related to SVG being used as an image, with zooming # Simple tests == img-zoomIn-1.html squaredCircle-150x150-ref.html == img-zoomOut-1.html squaredCircle-50x50-ref.html + +# Ensure that zooming doesn't result in fuzzy images. (Bug 600207.) +== img-fuzzy-zoomOut-1.html img-fuzzy-zoomOut-1-ref.html +== img-fuzzy-zoomIn-1.html img-fuzzy-zoomIn-1-ref.html