mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00:00
Bug 917595 (Part 2) - Reftests for zoomed image documents with EXIF orientations. r=smaug
--HG-- extra : rebase_source : ffe78a522420a4ae8a51e76c02c8817f9fc03d42
This commit is contained in:
parent
55305d3e8b
commit
3f661abe22
18
content/html/document/reftests/bug917595-1-ref.html
Normal file
18
content/html/document/reftests/bug917595-1-ref.html
Normal file
@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<style>
|
||||
iframe {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: 0px;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
document.addEventListener('MozReftestInvalidate',
|
||||
() => document.documentElement.removeAttribute('class'),
|
||||
false);
|
||||
</script>
|
||||
<body>
|
||||
<iframe src="bug917595-unrotated.jpg" scrolling="no" marginwidth="0" marginheight="0"></iframe>
|
||||
</body>
|
||||
</html>
|
BIN
content/html/document/reftests/bug917595-exif-rotated.jpg
Normal file
BIN
content/html/document/reftests/bug917595-exif-rotated.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 89 KiB |
18
content/html/document/reftests/bug917595-iframe-1.html
Normal file
18
content/html/document/reftests/bug917595-iframe-1.html
Normal file
@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<style>
|
||||
iframe {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: 0px;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
document.addEventListener('MozReftestInvalidate',
|
||||
() => document.documentElement.removeAttribute('class'),
|
||||
false);
|
||||
</script>
|
||||
<body>
|
||||
<iframe src="bug917595-exif-rotated.jpg" scrolling="no" marginwidth="0" marginheight="0"></iframe>
|
||||
</body>
|
||||
</html>
|
BIN
content/html/document/reftests/bug917595-pixel-rotated.jpg
Normal file
BIN
content/html/document/reftests/bug917595-pixel-rotated.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 89 KiB |
BIN
content/html/document/reftests/bug917595-unrotated.jpg
Normal file
BIN
content/html/document/reftests/bug917595-unrotated.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 89 KiB |
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user