diff --git a/content/html/document/reftests/bug917595-1-ref.html b/content/html/document/reftests/bug917595-1-ref.html new file mode 100644 index 000000000000..6bb9e2dc92e4 --- /dev/null +++ b/content/html/document/reftests/bug917595-1-ref.html @@ -0,0 +1,18 @@ + + + + +
+ + + diff --git a/content/html/document/reftests/bug917595-exif-rotated.jpg b/content/html/document/reftests/bug917595-exif-rotated.jpg new file mode 100644 index 000000000000..e7b0c22f3510 Binary files /dev/null and b/content/html/document/reftests/bug917595-exif-rotated.jpg differ diff --git a/content/html/document/reftests/bug917595-iframe-1.html b/content/html/document/reftests/bug917595-iframe-1.html new file mode 100644 index 000000000000..032c4f4ff58c --- /dev/null +++ b/content/html/document/reftests/bug917595-iframe-1.html @@ -0,0 +1,18 @@ + + + + + + + + diff --git a/content/html/document/reftests/bug917595-pixel-rotated.jpg b/content/html/document/reftests/bug917595-pixel-rotated.jpg new file mode 100644 index 000000000000..ac39faadadd9 Binary files /dev/null and b/content/html/document/reftests/bug917595-pixel-rotated.jpg differ diff --git a/content/html/document/reftests/bug917595-unrotated.jpg b/content/html/document/reftests/bug917595-unrotated.jpg new file mode 100644 index 000000000000..a787797c5e78 Binary files /dev/null and b/content/html/document/reftests/bug917595-unrotated.jpg differ diff --git a/content/html/document/reftests/reftests.list b/content/html/document/reftests/reftests.list index 50ee465ffe0f..530d55867fda 100644 --- a/content/html/document/reftests/reftests.list +++ b/content/html/document/reftests/reftests.list @@ -3,3 +3,10 @@ == bug448564-4a.html bug448564-4b.html == bug502168-1_malformed.html bug502168-1_well-formed.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.) +fuzzy(1,149) == bug917595-iframe-1.html bug917595-1-ref.html +fuzzy(2,446) == bug917595-exif-rotated.jpg bug917595-pixel-rotated.jpg