Bug 1341758 - update reftest expectations for image-orientation support. draft
authorJeremy Chen <jeremychen@mozilla.com>
Tue, 11 Apr 2017 16:32:20 +0800
changeset 560313 740d8c1918919d2a7a59dedfcba1415323df5a70
parent 560312 18bf3992d7a9f10fb76a9b0edd66fa454dcc63d8
child 623646 744ccb781ecc57ee8e8f2914200154c58ff2fd86
push id53365
push userjichen@mozilla.com
push dateTue, 11 Apr 2017 08:35:12 +0000
bugs1341758
milestone55.0a1
Bug 1341758 - update reftest expectations for image-orientation support. MozReview-Commit-ID: 6IdJU1YWbvJ
dom/html/reftests/reftest-stylo.list
layout/reftests/image/reftest-stylo.list
layout/reftests/svg/as-image/reftest-stylo.list
--- a/dom/html/reftests/reftest-stylo.list
+++ b/dom/html/reftests/reftest-stylo.list
@@ -39,17 +39,17 @@ fails == 596455-2b.html 596455-2b.html
 == image-load-shortcircuit-1.html image-load-shortcircuit-1.html
 == image-load-shortcircuit-2.html image-load-shortcircuit-2.html
 
 # Test that image documents taken into account CSS properties like
 # image-orientation when determining the size of the image.
 # (Fuzzy necessary due to pixel-wise comparison of different JPEGs.
 # The vast majority of the fuzziness comes from Linux and WinXP.)
 == bug917595-iframe-1.html bug917595-iframe-1.html
-fails == bug917595-exif-rotated.jpg bug917595-exif-rotated.jpg
+== bug917595-exif-rotated.jpg bug917595-exif-rotated.jpg
 
 # Test support for SVG-as-image in <picture> elements.
 == bug1106522-1.html bug1106522-1.html
 == bug1106522-2.html bug1106522-2.html
 
 == href-attr-change-restyles.html href-attr-change-restyles.html
 == figure.html figure.html
 == pre-1.html pre-1.html
--- a/layout/reftests/image/reftest-stylo.list
+++ b/layout/reftests/image/reftest-stylo.list
@@ -20,60 +20,60 @@ fails == image-object-fit-with-backgroun
 asserts(0-1) fails == image-object-position-with-background-1.html image-object-position-with-background-1.html
 == image-object-position-with-background-2.html image-object-position-with-background-2.html
 
 # 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-from-image.html?none
 fuzzy(1,1) == image-orientation-from-image.html?0 image-orientation-from-image.html?0
-fails == image-orientation-from-image.html?90 image-orientation-from-image.html?90
-fails == image-orientation-from-image.html?180 image-orientation-from-image.html?180
-fails == image-orientation-from-image.html?270 image-orientation-from-image.html?270
-fails == image-orientation-from-image.html?0&flip image-orientation-from-image.html?0&flip
-fails == image-orientation-from-image.html?90&flip image-orientation-from-image.html?90&flip
-fails == image-orientation-from-image.html?180&flip image-orientation-from-image.html?180&flip
-fails == image-orientation-from-image.html?270&flip image-orientation-from-image.html?270&flip
+== image-orientation-from-image.html?90 image-orientation-from-image.html?90
+== image-orientation-from-image.html?180 image-orientation-from-image.html?180
+== image-orientation-from-image.html?270 image-orientation-from-image.html?270
+== image-orientation-from-image.html?0&flip image-orientation-from-image.html?0&flip
+== image-orientation-from-image.html?90&flip image-orientation-from-image.html?90&flip
+== image-orientation-from-image.html?180&flip image-orientation-from-image.html?180&flip
+== image-orientation-from-image.html?270&flip image-orientation-from-image.html?270&flip
 
 # Tests for image-orientation used with an explicit orientation:
 fuzzy(1,1) == image-orientation-explicit.html?0 image-orientation-explicit.html?0
-fails == image-orientation-explicit.html?90 image-orientation-explicit.html?90
-fails == image-orientation-explicit.html?180 image-orientation-explicit.html?180
-fails == image-orientation-explicit.html?270 image-orientation-explicit.html?270
-fails == image-orientation-explicit.html?0&flip image-orientation-explicit.html?0&flip
-fails == image-orientation-explicit.html?90&flip image-orientation-explicit.html?90&flip
-fails == image-orientation-explicit.html?180&flip image-orientation-explicit.html?180&flip
-fails == image-orientation-explicit.html?270&flip image-orientation-explicit.html?270&flip
+== image-orientation-explicit.html?90 image-orientation-explicit.html?90
+== image-orientation-explicit.html?180 image-orientation-explicit.html?180
+== image-orientation-explicit.html?270 image-orientation-explicit.html?270
+== image-orientation-explicit.html?0&flip image-orientation-explicit.html?0&flip
+== image-orientation-explicit.html?90&flip image-orientation-explicit.html?90&flip
+== image-orientation-explicit.html?180&flip image-orientation-explicit.html?180&flip
+== image-orientation-explicit.html?270&flip image-orientation-explicit.html?270&flip
 
 # Tests for image-orientation used with non-axis-aligned angles:
-fuzzy(1,1) == image-orientation-explicit.html?-45 image-orientation-explicit.html?-45
+fails == image-orientation-explicit.html?-45 image-orientation-explicit.html?-45
 fuzzy(1,1) == image-orientation-explicit.html?-15 image-orientation-explicit.html?-15
 fuzzy(1,1) == image-orientation-explicit.html?15 image-orientation-explicit.html?15
-fails == image-orientation-explicit.html?45 image-orientation-explicit.html?45
-fails == image-orientation-explicit.html?75 image-orientation-explicit.html?75
-fails == image-orientation-explicit.html?105 image-orientation-explicit.html?105
-fails == image-orientation-explicit.html?135 image-orientation-explicit.html?135
-fails == image-orientation-explicit.html?165 image-orientation-explicit.html?165
-fails == image-orientation-explicit.html?195 image-orientation-explicit.html?195
-fails == image-orientation-explicit.html?225 image-orientation-explicit.html?225
-fails == image-orientation-explicit.html?255 image-orientation-explicit.html?255
-fails == image-orientation-explicit.html?285 image-orientation-explicit.html?285
-fuzzy(1,1) == image-orientation-explicit.html?315 image-orientation-explicit.html?315
+== image-orientation-explicit.html?45 image-orientation-explicit.html?45
+== image-orientation-explicit.html?75 image-orientation-explicit.html?75
+== image-orientation-explicit.html?105 image-orientation-explicit.html?105
+== image-orientation-explicit.html?135 image-orientation-explicit.html?135
+== image-orientation-explicit.html?165 image-orientation-explicit.html?165
+== image-orientation-explicit.html?195 image-orientation-explicit.html?195
+== image-orientation-explicit.html?225 image-orientation-explicit.html?225
+== image-orientation-explicit.html?255 image-orientation-explicit.html?255
+== image-orientation-explicit.html?285 image-orientation-explicit.html?285
+fails == image-orientation-explicit.html?315 image-orientation-explicit.html?315
 fuzzy(1,1) == image-orientation-explicit.html?345 image-orientation-explicit.html?345
 
 # Tests for image-orientation used on generated content:
-fails == image-orientation-generated-content.html?from-image image-orientation-generated-content.html?from-image
+== image-orientation-generated-content.html?from-image image-orientation-generated-content.html?from-image
 == image-orientation-generated-content.html?0 image-orientation-generated-content.html?0
-fails == image-orientation-generated-content.html?90 image-orientation-generated-content.html?90
-fails == image-orientation-generated-content.html?180 image-orientation-generated-content.html?180
-fails == image-orientation-generated-content.html?270 image-orientation-generated-content.html?270
-fails == image-orientation-generated-content.html?0&flip image-orientation-generated-content.html?0&flip
-fails == image-orientation-generated-content.html?90&flip image-orientation-generated-content.html?90&flip
-fails == image-orientation-generated-content.html?180&flip image-orientation-generated-content.html?180&flip
-fails == image-orientation-generated-content.html?270&flip image-orientation-generated-content.html?270&flip
+== image-orientation-generated-content.html?90 image-orientation-generated-content.html?90
+== image-orientation-generated-content.html?180 image-orientation-generated-content.html?180
+== image-orientation-generated-content.html?270 image-orientation-generated-content.html?270
+== image-orientation-generated-content.html?0&flip image-orientation-generated-content.html?0&flip
+== image-orientation-generated-content.html?90&flip image-orientation-generated-content.html?90&flip
+== image-orientation-generated-content.html?180&flip image-orientation-generated-content.html?180&flip
+== image-orientation-generated-content.html?270&flip image-orientation-generated-content.html?270&flip
 
 # Tests that image-orientation does not apply to decorative images:
 == image-orientation-background.html?from-image image-orientation-background.html?from-image
 == image-orientation-background.html?90&flip image-orientation-background.html?90&flip
 fails == image-orientation-border-image.html?from-image image-orientation-border-image.html?from-image
 fails == image-orientation-border-image.html?90&flip image-orientation-border-image.html?90&flip
 == image-orientation-list-style-image.html?from-image image-orientation-list-style-image.html?from-image
 == image-orientation-list-style-image.html?90&flip image-orientation-list-style-image.html?90&flip
@@ -95,17 +95,17 @@ fails == image-orientation-border-image.
 == image-orientation-generated-content-ref.html?0 image-orientation-generated-content-ref.html?0
 == image-orientation-generated-content-ref.html?90 image-orientation-generated-content-ref.html?90
 == image-orientation-generated-content-ref.html?90 image-orientation-generated-content-ref.html?90
 == image-orientation-generated-content-ref.html?180 image-orientation-generated-content-ref.html?180
 == image-orientation-generated-content-ref.html?0 image-orientation-generated-content-ref.html?0
 == image-orientation-generated-content-ref.html?90 image-orientation-generated-content-ref.html?90
 == image-orientation-generated-content-ref.html?180 image-orientation-generated-content-ref.html?180
 == image-orientation-generated-content-ref.html?270 image-orientation-generated-content-ref.html?270
-fails == image-orientation-dynamic.html image-orientation-dynamic.html # Bug 1341758
+== image-orientation-dynamic.html image-orientation-dynamic.html # Bug 1341758
 
 # <img srcset> tests
 == image-srcset-basic-selection-0.1x.html image-srcset-basic-selection-0.1x.html
 == image-srcset-basic-selection-2x.html image-srcset-basic-selection-2x.html
 == image-srcset-basic-selection-0.5x.html image-srcset-basic-selection-0.5x.html
 == image-srcset-basic-selection-0.6x.html image-srcset-basic-selection-0.6x.html
 == image-srcset-basic-selection-1.5x.html image-srcset-basic-selection-1.5x.html
 == image-srcset-basic-selection-1x.html image-srcset-basic-selection-1x.html
--- a/layout/reftests/svg/as-image/reftest-stylo.list
+++ b/layout/reftests/svg/as-image/reftest-stylo.list
@@ -162,53 +162,53 @@ HTTP == svg-stylesheet-external-1.html s
 # Test for painting problems with SVGs used in border images.
 # XXXseth: The underlying problems also apply to media fragments,
 # but the test case would be much simpler. This should be switched
 # over to use media fragments once bug 790640 lands.
 fails == svg-border-image-repaint-1.html svg-border-image-repaint-1.html
 
 # Tests for image-orientation with a viewbox and an intrinsic size:
 == image-orientation-viewbox-and-size.html?0 image-orientation-viewbox-and-size.html?0
-fails == image-orientation-viewbox-and-size.html?90 image-orientation-viewbox-and-size.html?90 # Bug 1341758
-fails == image-orientation-viewbox-and-size.html?180 image-orientation-viewbox-and-size.html?180 # Bug 1341758
-fails == image-orientation-viewbox-and-size.html?270 image-orientation-viewbox-and-size.html?270 # Bug 1341758
-fails == image-orientation-viewbox-and-size.html?0&flip image-orientation-viewbox-and-size.html?0&flip # Bug 1341758
-fails == image-orientation-viewbox-and-size.html?90&flip image-orientation-viewbox-and-size.html?90&flip # Bug 1341758
-fails == image-orientation-viewbox-and-size.html?180&flip image-orientation-viewbox-and-size.html?180&flip # Bug 1341758
-fails == image-orientation-viewbox-and-size.html?270&flip image-orientation-viewbox-and-size.html?270&flip # Bug 1341758
+== image-orientation-viewbox-and-size.html?90 image-orientation-viewbox-and-size.html?90 # Bug 1341758
+== image-orientation-viewbox-and-size.html?180 image-orientation-viewbox-and-size.html?180 # Bug 1341758
+== image-orientation-viewbox-and-size.html?270 image-orientation-viewbox-and-size.html?270 # Bug 1341758
+== image-orientation-viewbox-and-size.html?0&flip image-orientation-viewbox-and-size.html?0&flip # Bug 1341758
+== image-orientation-viewbox-and-size.html?90&flip image-orientation-viewbox-and-size.html?90&flip # Bug 1341758
+== image-orientation-viewbox-and-size.html?180&flip image-orientation-viewbox-and-size.html?180&flip # Bug 1341758
+== image-orientation-viewbox-and-size.html?270&flip image-orientation-viewbox-and-size.html?270&flip # Bug 1341758
 
 # Tests for image-orientation with a viewbox and no intrinsic size:
 == image-orientation-viewbox-no-size.html?0 image-orientation-viewbox-no-size.html?0
-fails == image-orientation-viewbox-no-size.html?90 image-orientation-viewbox-no-size.html?90 # Bug 1341758
-fails == image-orientation-viewbox-no-size.html?180 image-orientation-viewbox-no-size.html?180 # Bug 1341758
-fails == image-orientation-viewbox-no-size.html?270 image-orientation-viewbox-no-size.html?270 # Bug 1341758
-fails == image-orientation-viewbox-no-size.html?0&flip image-orientation-viewbox-no-size.html?0&flip # Bug 1341758
-fails == image-orientation-viewbox-no-size.html?90&flip image-orientation-viewbox-no-size.html?90&flip # Bug 1341758
-fails == image-orientation-viewbox-no-size.html?180&flip image-orientation-viewbox-no-size.html?180&flip # Bug 1341758
-fails == image-orientation-viewbox-no-size.html?270&flip image-orientation-viewbox-no-size.html?270&flip # Bug 1341758
+== image-orientation-viewbox-no-size.html?90 image-orientation-viewbox-no-size.html?90 # Bug 1341758
+== image-orientation-viewbox-no-size.html?180 image-orientation-viewbox-no-size.html?180 # Bug 1341758
+== image-orientation-viewbox-no-size.html?270 image-orientation-viewbox-no-size.html?270 # Bug 1341758
+== image-orientation-viewbox-no-size.html?0&flip image-orientation-viewbox-no-size.html?0&flip # Bug 1341758
+== image-orientation-viewbox-no-size.html?90&flip image-orientation-viewbox-no-size.html?90&flip # Bug 1341758
+== image-orientation-viewbox-no-size.html?180&flip image-orientation-viewbox-no-size.html?180&flip # Bug 1341758
+== image-orientation-viewbox-no-size.html?270&flip image-orientation-viewbox-no-size.html?270&flip # Bug 1341758
 
 # Tests for image-orientation with no viewbox and an intrinsic size:
 == image-orientation-no-viewbox-and-size.html?0 image-orientation-no-viewbox-and-size.html?0
-fails == image-orientation-no-viewbox-and-size.html?90 image-orientation-no-viewbox-and-size.html?90 # Bug 1341758
-fails == image-orientation-no-viewbox-and-size.html?180 image-orientation-no-viewbox-and-size.html?180 # Bug 1341758
-fails == image-orientation-no-viewbox-and-size.html?270 image-orientation-no-viewbox-and-size.html?270 # Bug 1341758
-fails == image-orientation-no-viewbox-and-size.html?0&flip image-orientation-no-viewbox-and-size.html?0&flip # Bug 1341758
-fails == image-orientation-no-viewbox-and-size.html?90&flip image-orientation-no-viewbox-and-size.html?90&flip # Bug 1341758
-fails == image-orientation-no-viewbox-and-size.html?180&flip image-orientation-no-viewbox-and-size.html?180&flip # Bug 1341758
-fails == image-orientation-no-viewbox-and-size.html?270&flip image-orientation-no-viewbox-and-size.html?270&flip # Bug 1341758
+== image-orientation-no-viewbox-and-size.html?90 image-orientation-no-viewbox-and-size.html?90 # Bug 1341758
+== image-orientation-no-viewbox-and-size.html?180 image-orientation-no-viewbox-and-size.html?180 # Bug 1341758
+== image-orientation-no-viewbox-and-size.html?270 image-orientation-no-viewbox-and-size.html?270 # Bug 1341758
+== image-orientation-no-viewbox-and-size.html?0&flip image-orientation-no-viewbox-and-size.html?0&flip # Bug 1341758
+== image-orientation-no-viewbox-and-size.html?90&flip image-orientation-no-viewbox-and-size.html?90&flip # Bug 1341758
+== image-orientation-no-viewbox-and-size.html?180&flip image-orientation-no-viewbox-and-size.html?180&flip # Bug 1341758
+== image-orientation-no-viewbox-and-size.html?270&flip image-orientation-no-viewbox-and-size.html?270&flip # Bug 1341758
 
 # Tests for image-orientation with no viewbox and no intrinsic size:
 == image-orientation-no-viewbox-no-size.html?0 image-orientation-no-viewbox-no-size.html?0
-fails == image-orientation-no-viewbox-no-size.html?90 image-orientation-no-viewbox-no-size.html?90 # Bug 1341758
-fails == image-orientation-no-viewbox-no-size.html?180 image-orientation-no-viewbox-no-size.html?180 # Bug 1341758
-fails == image-orientation-no-viewbox-no-size.html?270 image-orientation-no-viewbox-no-size.html?270 # Bug 1341758
-fails == image-orientation-no-viewbox-no-size.html?0&flip image-orientation-no-viewbox-no-size.html?0&flip # Bug 1341758
-fails == image-orientation-no-viewbox-no-size.html?90&flip image-orientation-no-viewbox-no-size.html?90&flip # Bug 1341758
-fails == image-orientation-no-viewbox-no-size.html?180&flip image-orientation-no-viewbox-no-size.html?180&flip # Bug 1341758
-fails == image-orientation-no-viewbox-no-size.html?270&flip image-orientation-no-viewbox-no-size.html?270&flip # Bug 1341758
+== image-orientation-no-viewbox-no-size.html?90 image-orientation-no-viewbox-no-size.html?90 # Bug 1341758
+== image-orientation-no-viewbox-no-size.html?180 image-orientation-no-viewbox-no-size.html?180 # Bug 1341758
+== image-orientation-no-viewbox-no-size.html?270 image-orientation-no-viewbox-no-size.html?270 # Bug 1341758
+== image-orientation-no-viewbox-no-size.html?0&flip image-orientation-no-viewbox-no-size.html?0&flip # Bug 1341758
+== image-orientation-no-viewbox-no-size.html?90&flip image-orientation-no-viewbox-no-size.html?90&flip # Bug 1341758
+== image-orientation-no-viewbox-no-size.html?180&flip image-orientation-no-viewbox-no-size.html?180&flip # Bug 1341758
+== image-orientation-no-viewbox-no-size.html?270&flip image-orientation-no-viewbox-no-size.html?270&flip # Bug 1341758
 
 # Test that 'image-orientation: from-image' has no effect, since SVGs don't have EXIF data.
 == image-orientation-viewbox-and-size.html?from-image image-orientation-viewbox-and-size.html?from-image
 == image-orientation-viewbox-no-size.html?from-image image-orientation-viewbox-no-size.html?from-image
 
 # 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?0