# Tests related to SVG being used as an image # zoom/ include zoom/reftest.list # Trivial background-image tests == background-simple-1.html lime100x100-ref.html == background-simple-2.html lime100x100-ref.html # Sightly trickier background-image test == background-viewBox-1.html lime100x100-ref.html # background tests with the background area getting resized == background-resize-1.html lime100x100-ref.html == background-resize-2.html lime100x100-ref.html == background-resize-3.html lime100x100-ref.html == background-resize-4.html lime100x100-ref.html # Tests with -moz-image-rect() == background-image-rect-1svg.html lime100x100-ref.html == background-image-rect-1png.html lime100x100-ref.html == background-image-rect-2.html lime100x100-ref.html # Test for -moz-border-image == border-image-simple-1.html lime100x100-ref.html == border-image-simple-2.html lime100x100-ref.html # Test for canvas "drawImage" method # NOTE: The canvas reftests that involve scaling currently fail with fuzziness # on various edges, as noted below. These will be fixed in followup bugs. == canvas-drawImage-simple-1a.html lime100x100-ref.html == canvas-drawImage-simple-1b.html lime100x100-ref.html == canvas-drawImage-scale-1a.html lime100x100-ref.html == canvas-drawImage-scale-1b.html lime100x100-ref.html == canvas-drawImage-scale-1c.html lime100x100-ref.html fails == canvas-drawImage-scale-2a.html canvas-drawImage-scale-2-ref.html # XXX all edges fuzzy fails == canvas-drawImage-scale-2b.html canvas-drawImage-scale-2-ref.html # XXX all edges fuzzy == canvas-drawImage-slice-1a.html lime100x100-ref.html fails == canvas-drawImage-slice-1b.html lime100x100-ref.html # XXX all edges fuzzy # Simple tests == img-simple-1.html lime100x100-ref.html == img-simple-2.html lime100x100-ref.html == img-simple-3.html img-simple-3-ref.html == img-simple-4.html lime100x100-ref.html == img-simple-5.html img-simple-5-ref.html == img-simple-6.html lime100x100-ref.html == img-simple-7.html img-simple-7-ref.html # Test with mix of and referring to the same images, # with a variety of preserveAspectRatio values in play. fails-if(Android) == img-and-image-1.html img-and-image-1-ref.svg # More complex tests == img-content-outside-viewBox-1.html img-content-outside-viewBox-1-ref.html == img-dyn-1.html img-dyn-1-ref.html == img-foreignObject-1.html lime100x100-ref.html == img-foreignObject-embed-1.html lime100x100-ref.html == img-foreignObject-embed-2.html lime100x100-ref.html == img-widthAndHeight-meet-1.html img-widthAndHeight-meet-1-ref.html == img-widthAndHeight-meet-2.html img-widthAndHeight-meet-2-ref.html == img-widthAndHeight-slice-1.html img-widthAndHeight-slice-1-ref.html == img-widthAndHeight-slice-2.html img-widthAndHeight-slice-2-ref.html == img-height-meet-1.html img-height-meet-1-ref.html == img-height-meet-2.html img-height-meet-2-ref.html == img-height-slice-1.html img-height-slice-1-ref.html == img-height-slice-2.html img-height-slice-2-ref.html == img-width-meet-1.html img-width-meet-1-ref.html == img-width-meet-2.html img-width-meet-2-ref.html == img-width-slice-1.html img-width-slice-1-ref.html == img-width-slice-2.html img-width-slice-2-ref.html # Alternate version of "width & height both non-%-valued" tests, but now # with no explicit viewBox, to trigger "synthesize-viewBox" behavior == img-novb-widthAndHeight-meet-1-em.html img-novb-widthAndHeight-all-1-ref.html == img-novb-widthAndHeight-meet-1-px.html img-novb-widthAndHeight-all-1-ref.html == img-novb-widthAndHeight-slice-1-em.html img-novb-widthAndHeight-all-1-ref.html == img-novb-widthAndHeight-slice-1-px.html img-novb-widthAndHeight-all-1-ref.html # Alternate versions of "only one dimension is non-%-valued" tests, but now # with no explicit viewBox, to trigger "synthesize-viewBox" behavior == img-novb-height-meet-1.html img-novb-height-all-1-ref.html == img-novb-height-slice-1.html img-novb-height-all-1-ref.html == img-novb-width-meet-1.html img-novb-width-all-1-ref.html == img-novb-width-slice-1.html img-novb-width-all-1-ref.html == list-simple-1.html list-simple-1-ref.html == svg-image-simple-1.svg lime100x100.svg == svg-image-simple-2.svg lime100x100.svg == svg-image-simple-3.svg lime100x100.svg # tests for files that include themselves as an == svg-image-recursive-1a.svg svg-image-recursive-1-ref.svg == svg-image-recursive-1b.svg svg-image-recursive-1-ref.svg == svg-image-recursive-2a.svg svg-image-recursive-2-ref.svg == svg-image-recursive-2b.html svg-image-recursive-2-ref.svg # test that scripting feature is not supported in images or referenced documents == svg-image-script-1.svg lime100x100.svg == svg-image-script-2.svg lime100x100.svg # tests for external resources vs. data URIs in SVG as an image == svg-image-datauri-1.html lime100x100.svg HTTP == svg-image-datauri-1.html lime100x100.svg fails-if(Android) == svg-image-external-1.html lime100x100.svg HTTP == svg-image-external-1.html blue100x100.svg == svg-stylesheet-datauri-1.html lime100x100.svg HTTP == svg-stylesheet-datauri-1.html lime100x100.svg random == svg-stylesheet-external-1.html lime100x100.svg # see bug 629885 comment 9 HTTP == svg-stylesheet-external-1.html blue100x100.svg