# Tests related to SVG being used as an image # zoom/ include zoom/reftest.list # Background-image tests == background-display-none-1.html about:blank == 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 # Test for stretching background images by different amounts in each dimension == background-stretch-1.html background-stretch-1-ref.html # Tests for scaling background images == background-scale-no-viewbox-1.html background-scale-no-viewbox-1-ref.html == background-scale-with-viewbox-1.html background-scale-with-viewbox-1-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 border-image == border-image-simple-1.html lime100x100-ref.html == border-image-simple-2.html lime100x100-ref.html # Test for canvas "drawImage" method == 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 fuzzy(1,2) fuzzy-if(skiaContent,1,529) == canvas-drawImage-scale-2a.html canvas-drawImage-scale-2-ref.html fuzzy(1,2) fuzzy-if(skiaContent,1,529) == canvas-drawImage-scale-2b.html canvas-drawImage-scale-2-ref.html fuzzy-if(winWidget&&!d2d,1,10000) fuzzy-if(azureSkia,1,10000) == canvas-drawImage-alpha-1.html canvas-drawImage-alpha-1-ref.html #Same as scale-2a but with globalAlpha: fuzzy(1,2) fuzzy-if(azureSkia,1,40000) == canvas-drawImage-alpha-2.html canvas-drawImage-alpha-2-ref.html == canvas-drawImage-slice-1a.html lime100x100-ref.html == canvas-drawImage-slice-1b.html lime100x100-ref.html == canvas-drawImage-origin-clean-1.html lime100x100-ref.html == canvas-drawImage-transform-restored.html canvas-drawImage-transform-restored-ref.html # Simple tests == img-simple-1.html lime100x100-ref.html == img-simple-2.html lime100x100-ref.html fuzzy-if(skiaContent,255,350) == img-simple-3.html img-simple-3-ref.html == img-simple-4.html lime100x100-ref.html fuzzy-if(skiaContent,255,90) == img-simple-5.html img-simple-5-ref.html == img-simple-6.html lime100x100-ref.html fuzzy-if(skiaContent,255,27) == 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. random == img-and-image-1.html img-and-image-1-ref.svg # bug 645267 # More complex tests == img-blobURI-1.html lime100x100-ref.html random == img-blobURI-2.html lime100x100-ref.html fuzzy-if(d2d,16,10) == img-content-outside-viewBox-1.html img-content-outside-viewBox-1-ref.html # d2d is bug 1074161 == img-display-none-1.html about:blank == img-dyn-1.html img-dyn-1-ref.html == img-foreignObject-1.html lime100x100-ref.html # The following tests check that content embedded via