2010-09-08 13:40:40 -07:00
|
|
|
# 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
|
|
|
|
|
2010-10-06 15:18:52 -07:00
|
|
|
# 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
|
|
|
|
|
2010-09-08 13:40:40 -07:00
|
|
|
# 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
|
|
|
|
|
2010-09-10 10:42:57 -07:00
|
|
|
# Test for -moz-border-image
|
|
|
|
== border-image-simple-1.html lime100x100-ref.html
|
|
|
|
== border-image-simple-2.html lime100x100-ref.html
|
|
|
|
|
2010-10-12 12:00:31 -07:00
|
|
|
# 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
|
|
|
|
|
2010-10-12 13:33:50 -07:00
|
|
|
fails-if(gtk2Widget) fails-if(winWidget) == canvas-drawImage-scale-1a.html lime100x100-ref.html # XXX top & left edges fuzzy
|
|
|
|
fails-if(gtk2Widget) fails-if(winWidget) == canvas-drawImage-scale-1b.html lime100x100-ref.html # XXX top & left edges fuzzy
|
|
|
|
fails-if(gtk2Widget) fails-if(winWidget) == canvas-drawImage-scale-1c.html lime100x100-ref.html # XXX all edges fuzzy
|
2010-10-12 12:00:31 -07:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2010-09-08 13:40:40 -07:00
|
|
|
# Simple <img> tests
|
|
|
|
== img-simple-1.html lime100x100-ref.html
|
|
|
|
== img-simple-2.html lime100x100-ref.html
|
|
|
|
== img-simple-3.html lime100x100-ref.html
|
|
|
|
== img-simple-4.html lime100x100-ref.html
|
|
|
|
== img-simple-5.html lime100x100-ref.html
|
|
|
|
== img-simple-6.html lime100x100-ref.html
|
|
|
|
== img-simple-7.html lime100x100-ref.html
|
|
|
|
|
2010-12-19 16:45:29 -08:00
|
|
|
# Test with mix of <html:img> and <svg:image> referring to the same images,
|
|
|
|
# with a variety of preserveAspectRatio values in play.
|
2011-01-28 07:52:16 -08:00
|
|
|
# NOTE: The reference cases in this test triggers 72 assertions (bug 563481)
|
|
|
|
asserts(72) == img-and-image-1.html img-and-image-1-ref.svg
|
2010-12-19 16:45:29 -08:00
|
|
|
|
2010-09-14 13:20:32 -07:00
|
|
|
# More complex <img> tests
|
2010-11-28 09:47:14 -08:00
|
|
|
random-if(gtk2Widget) == img-anim-1.html lime100x100-ref.html # bug 612214
|
2010-09-08 13:40:40 -07:00
|
|
|
== img-content-outside-viewBox-1.html img-content-outside-viewBox-1-ref.html
|
2010-09-17 12:09:08 -07:00
|
|
|
random == img-dyn-1.html img-dyn-1-ref.html # Bug 596478
|
2010-09-08 13:40:40 -07:00
|
|
|
|
2010-12-19 17:37:40 -08:00
|
|
|
random-if(d2d) == img-widthAndHeight-meet-1.html img-widthAndHeight-meet-1-ref.html
|
|
|
|
random-if(d2d) == img-widthAndHeight-meet-2.html img-widthAndHeight-meet-2-ref.html
|
|
|
|
random-if(d2d) == img-widthAndHeight-slice-1.html img-widthAndHeight-slice-1-ref.html
|
|
|
|
random-if(d2d) == img-widthAndHeight-slice-2.html img-widthAndHeight-slice-2-ref.html
|
|
|
|
|
2011-01-26 13:30:21 -08:00
|
|
|
# NOTE: img-*-*-2.html are near-permaorange on 64-bit OS X - marking as random,
|
|
|
|
# investigating in bug 629143.
|
2010-12-19 17:37:40 -08:00
|
|
|
random-if(d2d) == img-height-meet-1.html img-height-meet-1-ref.html
|
2011-01-26 13:30:21 -08:00
|
|
|
random-if(cocoaWidget&&layersGPUAccelerated) random-if(d2d) == img-height-meet-2.html img-height-meet-2-ref.html
|
2010-12-19 17:37:40 -08:00
|
|
|
random-if(d2d) == img-height-slice-1.html img-height-slice-1-ref.html
|
2011-01-26 13:30:21 -08:00
|
|
|
random-if(cocoaWidget&&layersGPUAccelerated) random-if(d2d) == img-height-slice-2.html img-height-slice-2-ref.html
|
2010-12-19 17:37:40 -08:00
|
|
|
|
|
|
|
random-if(d2d) == img-width-meet-1.html img-width-meet-1-ref.html
|
2011-01-26 13:30:21 -08:00
|
|
|
random-if(cocoaWidget&&layersGPUAccelerated) random-if(d2d) == img-width-meet-2.html img-width-meet-2-ref.html
|
2010-12-19 17:37:40 -08:00
|
|
|
random-if(d2d) == img-width-slice-1.html img-width-slice-1-ref.html
|
2011-01-26 13:30:21 -08:00
|
|
|
random-if(cocoaWidget&&layersGPUAccelerated) random-if(d2d) == img-width-slice-2.html img-width-slice-2-ref.html
|
2010-09-08 13:40:40 -07:00
|
|
|
|
|
|
|
== list-simple-1.html list-simple-1-ref.html
|
2010-12-19 16:45:29 -08:00
|
|
|
|
|
|
|
== svg-image-simple-1.svg lime100x100.svg
|
|
|
|
== svg-image-simple-2.svg lime100x100.svg
|
|
|
|
== svg-image-simple-3.svg lime100x100.svg
|
|
|
|
|
|
|
|
# tests for <svg> files that include themselves as an <image>
|
|
|
|
== 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
|