diff options
Diffstat (limited to 'layout/reftests/image/reftest.list')
-rw-r--r-- | layout/reftests/image/reftest.list | 128 |
1 files changed, 128 insertions, 0 deletions
diff --git a/layout/reftests/image/reftest.list b/layout/reftests/image/reftest.list new file mode 100644 index 000000000..1a610811d --- /dev/null +++ b/layout/reftests/image/reftest.list @@ -0,0 +1,128 @@ +fuzzy-if(Android,8,30) == background-image-zoom-1.html background-image-zoom-1-ref.html +fails-if(usesRepeatResampling) == background-image-zoom-2.html about:blank +== image-seam-1a.html image-seam-1-ref.html +== image-seam-1b.html image-seam-1-ref.html +fuzzy-if(Android,255,154) == image-seam-2.html image-seam-2-ref.html # Bug 1128229 +== image-zoom-1.html image-zoom-1-ref.html +== image-zoom-2.html image-zoom-1-ref.html +== invalid-url-image-1.html invalid-url-image-1-ref.html +random-if(/^Windows\x20NT\x205\.1/.test(http.oscpu)) == sync-image-switch-1a.html sync-image-switch-1-ref.html # bug 855050 for WinXP +random-if(/^Windows\x20NT\x205\.1/.test(http.oscpu)) == sync-image-switch-1b.html sync-image-switch-1-ref.html # bug 855050 for WinXP +random-if(/^Windows\x20NT\x205\.1/.test(http.oscpu)) == sync-image-switch-1c.html sync-image-switch-1-ref.html # bug 855050 for WinXP +random-if(/^Windows\x20NT\x205\.1/.test(http.oscpu)) == sync-image-switch-1d.html sync-image-switch-1-ref.html # bug 855050 for WinXP + +# Tests for "object-fit" & "object-position" +test-pref(layout.css.object-fit-and-position.enabled,true) == image-object-fit-dyn-1.html image-object-fit-dyn-1-ref.html +test-pref(layout.css.object-fit-and-position.enabled,true) == image-object-fit-with-background-1.html image-object-fit-with-background-1-ref.html +test-pref(layout.css.object-fit-and-position.enabled,true) == image-object-fit-with-background-2.html image-object-fit-with-background-2-ref.html +test-pref(layout.css.object-fit-and-position.enabled,true) == image-object-position-dyn-1.html image-object-position-dyn-1-ref.html +test-pref(layout.css.object-fit-and-position.enabled,true) == image-object-position-with-background-1.html image-object-position-with-background-1-ref.html +test-pref(layout.css.object-fit-and-position.enabled,true) fuzzy-if(winWidget,117,374) == image-object-position-with-background-2.html image-object-position-with-background-2-ref.html # Bug 1128229 + +# Tests for image-orientation used with 'from-image' (note that all +# image-orientation tests are fuzzy because the JPEG images do not perfectly +# reproduce blocks of solid color, even at maximum quality): +fuzzy(2,5) == image-orientation-from-image.html?none image-orientation-ref.html?0 +fuzzy(1,1) == image-orientation-from-image.html?0 image-orientation-ref.html?0 +fuzzy(1,1) == image-orientation-from-image.html?90 image-orientation-ref.html?90 +fuzzy(1,1) == image-orientation-from-image.html?180 image-orientation-ref.html?180 +fuzzy(1,1) == image-orientation-from-image.html?270 image-orientation-ref.html?270 +fuzzy(1,1) == image-orientation-from-image.html?0&flip image-orientation-ref.html?0&flip +fuzzy(1,1) == image-orientation-from-image.html?90&flip image-orientation-ref.html?90&flip +fuzzy(1,1) == image-orientation-from-image.html?180&flip image-orientation-ref.html?180&flip +fuzzy(1,1) == image-orientation-from-image.html?270&flip image-orientation-ref.html?270&flip + +# Tests for image-orientation used with an explicit orientation: +fuzzy(1,1) == image-orientation-explicit.html?0 image-orientation-ref.html?0 +fuzzy(1,1) == image-orientation-explicit.html?90 image-orientation-ref.html?90 +fuzzy(1,1) == image-orientation-explicit.html?180 image-orientation-ref.html?180 +fuzzy(1,1) == image-orientation-explicit.html?270 image-orientation-ref.html?270 +fuzzy(1,1) == image-orientation-explicit.html?0&flip image-orientation-ref.html?0&flip +fuzzy(1,1) == image-orientation-explicit.html?90&flip image-orientation-ref.html?90&flip +fuzzy(1,1) == image-orientation-explicit.html?180&flip image-orientation-ref.html?180&flip +fuzzy(1,1) == image-orientation-explicit.html?270&flip image-orientation-ref.html?270&flip + +# Tests for image-orientation used with non-axis-aligned angles: +fuzzy(1,1) == image-orientation-explicit.html?-45 image-orientation-ref.html?0 +fuzzy(1,1) == image-orientation-explicit.html?-15 image-orientation-ref.html?0 +fuzzy(1,1) == image-orientation-explicit.html?15 image-orientation-ref.html?0 +fuzzy(1,1) == image-orientation-explicit.html?45 image-orientation-ref.html?90 +fuzzy(1,1) == image-orientation-explicit.html?75 image-orientation-ref.html?90 +fuzzy(1,1) == image-orientation-explicit.html?105 image-orientation-ref.html?90 +fuzzy(1,1) == image-orientation-explicit.html?135 image-orientation-ref.html?180 +fuzzy(1,1) == image-orientation-explicit.html?165 image-orientation-ref.html?180 +fuzzy(1,1) == image-orientation-explicit.html?195 image-orientation-ref.html?180 +fuzzy(1,1) == image-orientation-explicit.html?225 image-orientation-ref.html?270 +fuzzy(1,1) == image-orientation-explicit.html?255 image-orientation-ref.html?270 +fuzzy(1,1) == image-orientation-explicit.html?285 image-orientation-ref.html?270 +fuzzy(1,1) == image-orientation-explicit.html?315 image-orientation-ref.html?0 +fuzzy(1,1) == image-orientation-explicit.html?345 image-orientation-ref.html?0 + +# Tests for image-orientation used on generated content: +fuzzy(1,1) == image-orientation-generated-content.html?from-image image-orientation-generated-content-ref.html?270&flip +fuzzy(1,1) == image-orientation-generated-content.html?0 image-orientation-generated-content-ref.html?0 +fuzzy(1,1) == image-orientation-generated-content.html?90 image-orientation-generated-content-ref.html?90 +fuzzy(1,1) == image-orientation-generated-content.html?180 image-orientation-generated-content-ref.html?180 +fuzzy(1,1) == image-orientation-generated-content.html?270 image-orientation-generated-content-ref.html?270 +fuzzy(1,1) == image-orientation-generated-content.html?0&flip image-orientation-generated-content-ref.html?0&flip +fuzzy(1,1) == image-orientation-generated-content.html?90&flip image-orientation-generated-content-ref.html?90&flip +fuzzy(1,1) == image-orientation-generated-content.html?180&flip image-orientation-generated-content-ref.html?180&flip +fuzzy(1,1) == image-orientation-generated-content.html?270&flip image-orientation-generated-content-ref.html?270&flip + +# Tests that image-orientation does not apply to decorative images: +fuzzy(1,1) == image-orientation-background.html?from-image image-orientation-ref.html?0 +fuzzy(1,1) == image-orientation-background.html?90&flip image-orientation-ref.html?0 +== image-orientation-border-image.html?from-image image-orientation-border-image.html?0 +== image-orientation-border-image.html?90&flip image-orientation-border-image.html?0 +== image-orientation-list-style-image.html?from-image image-orientation-list-style-image.html?0 +== image-orientation-list-style-image.html?90&flip image-orientation-list-style-image.html?0 + +# Sanity checks for the image-orientation tests. Ensures that the various +# combinations of rotations and flips actually look different from each other. +!= image-orientation-ref.html?0 image-orientation-ref.html?90 +!= image-orientation-ref.html?0 image-orientation-ref.html?180 +!= image-orientation-ref.html?0 image-orientation-ref.html?270 +!= image-orientation-ref.html?90 image-orientation-ref.html?180 +!= image-orientation-ref.html?90 image-orientation-ref.html?270 +!= image-orientation-ref.html?180 image-orientation-ref.html?270 +!= image-orientation-ref.html?0 image-orientation-ref.html?0&flip +!= image-orientation-ref.html?90 image-orientation-ref.html?90&flip +!= image-orientation-ref.html?180 image-orientation-ref.html?180&flip +!= image-orientation-ref.html?270 image-orientation-ref.html?270&flip +!= image-orientation-generated-content-ref.html?0 image-orientation-generated-content-ref.html?90 +!= image-orientation-generated-content-ref.html?0 image-orientation-generated-content-ref.html?180 +!= image-orientation-generated-content-ref.html?0 image-orientation-generated-content-ref.html?270 +!= image-orientation-generated-content-ref.html?90 image-orientation-generated-content-ref.html?180 +!= image-orientation-generated-content-ref.html?90 image-orientation-generated-content-ref.html?270 +!= image-orientation-generated-content-ref.html?180 image-orientation-generated-content-ref.html?270 +!= image-orientation-generated-content-ref.html?0 image-orientation-generated-content-ref.html?0&flip +!= image-orientation-generated-content-ref.html?90 image-orientation-generated-content-ref.html?90&flip +!= image-orientation-generated-content-ref.html?180 image-orientation-generated-content-ref.html?180&flip +!= image-orientation-generated-content-ref.html?270 image-orientation-generated-content-ref.html?270&flip +== image-orientation-dynamic.html image-orientation-dynamic-ref.html + +# <img srcset> tests +== image-srcset-basic-selection-0.1x.html image-srcset-basic-selection-0.1x-ref.html +== image-srcset-basic-selection-2x.html image-srcset-basic-selection-2x-ref.html +== image-srcset-basic-selection-0.5x.html image-srcset-basic-selection-0.5x-ref.html +== image-srcset-basic-selection-0.6x.html image-srcset-basic-selection-0.6x-ref.html +== image-srcset-basic-selection-1.5x.html image-srcset-basic-selection-1.5x-ref.html +== image-srcset-basic-selection-1x.html image-srcset-basic-selection-1x-ref.html +== image-srcset-basic-selection-width-0.5x.html image-srcset-basic-selection-width-0.5x-ref.html +== image-srcset-basic-selection-width-10x.html image-srcset-basic-selection-width-10x-ref.html +== image-srcset-basic-selection-width-2x.html image-srcset-basic-selection-width-2x-ref.html +== image-srcset-basic-selection-width-1x.html image-srcset-basic-selection-width-1x-ref.html +== image-srcset-default-2x.html image-srcset-default-2x-ref.html +== image-srcset-default-1x.html image-srcset-default-1x-ref.html +== image-srcset-default-src-2x.html image-srcset-default-src-2x-ref.html +== image-srcset-default-src-1x.html image-srcset-default-src-1x-ref.html +== image-srcset-orientation-2x.html image-srcset-orientation-2x-ref.html +== image-srcset-orientation-1x.html image-srcset-orientation-1x-ref.html +== image-srcset-svg-3x.html image-srcset-svg-3x-ref.html +== image-srcset-svg-2x.html image-srcset-svg-2x-ref.html +== image-srcset-svg-1x.html image-srcset-svg-1x-ref.html +== image-srcset-svg-default-2x.html image-srcset-svg-default-2x-ref.html +== image-srcset-svg-default-1x.html image-srcset-svg-default-1x-ref.html + +== image-resize-percent-height.html image-resize-ref.html +== image-resize-percent-width.html image-resize-ref.html |