gecko-dev/layout/reftests/image
Emilio Cobos Álvarez 5d4df42dc7 Bug 1149357: Make nsImageFrame::mIntrinsicSize account for density. r=dholbert
Only doing it in ComputeSize (via GetNaturalSize) is unsound, and the rest of
the users of mIntrinsicSize definitely do need scaling accounted for.

Move the adjustment to nsImageFrame for two reasons:

 * Prevents adding more dependencies from nsIImageLoadingContent, which
   otherwise would need to go away anyway in bug 215083.

 * Avoids having to duplicate the image orientation logic, since mImage is
   already an OrientedImage if needed.

MozReview-Commit-ID: EA0n0TctZhN
2018-05-25 12:09:23 +02:00
..
50.png
100.png
200.png
300.png
400.png
500.svg
background-image-zoom-1-ref.html
background-image-zoom-1.html
background-image-zoom-2.html
big.png
blue-16x20.png
blue-32x32.png
blue-50x50.png Bug 1160635 patch 1 - Add reftests. r=dholbert 2015-05-06 08:52:19 +02:00
blue-50x100.png Bug 1160635 patch 1 - Add reftests. r=dholbert 2015-05-06 08:52:19 +02:00
blue-100x50.png Bug 1160635 patch 1 - Add reftests. r=dholbert 2015-05-06 08:52:19 +02:00
image-exif-0-deg-flip.jpg
image-exif-0-deg.jpg
image-exif-90-deg-flip.jpg
image-exif-90-deg.jpg
image-exif-180-deg-flip.jpg
image-exif-180-deg.jpg
image-exif-270-deg-flip.jpg
image-exif-270-deg.jpg
image-exif-none.jpg
image-object-fit-dyn-1-ref.html
image-object-fit-dyn-1.html
image-object-fit-with-background-1-ref.html
image-object-fit-with-background-1.html
image-object-fit-with-background-2-ref.html Bug 1382327 - (reftest) Rename reftest-print to reftest-paged. r=dbaron 2017-07-26 22:53:46 -07:00
image-object-fit-with-background-2.html Bug 1382327 - (reftest) Rename reftest-print to reftest-paged. r=dbaron 2017-07-26 22:53:46 -07:00
image-object-position-dyn-1-ref.html
image-object-position-dyn-1.html
image-object-position-with-background-1-ref.html
image-object-position-with-background-1.html
image-object-position-with-background-2-ref.html Bug 1382327 - (reftest) Rename reftest-print to reftest-paged. r=dbaron 2017-07-26 22:53:46 -07:00
image-object-position-with-background-2.html Bug 1382327 - (reftest) Rename reftest-print to reftest-paged. r=dbaron 2017-07-26 22:53:46 -07:00
image-orientation-background.html
image-orientation-border-image.html
image-orientation-dynamic-ref.html
image-orientation-dynamic.html
image-orientation-explicit.html Bug 920734 - Part 2: Update tests to avoid using orientation as variable name. r=seth 2015-10-23 21:37:35 -07:00
image-orientation-from-image.html Bug 920734 - Part 2: Update tests to avoid using orientation as variable name. r=seth 2015-10-23 21:37:35 -07:00
image-orientation-generated-content-ref.html Bug 920734 - Part 2: Update tests to avoid using orientation as variable name. r=seth 2015-10-23 21:37:35 -07:00
image-orientation-generated-content.html Bug 920734 - Part 2: Update tests to avoid using orientation as variable name. r=seth 2015-10-23 21:37:35 -07:00
image-orientation-list-style-image.html
image-orientation-ref.html Bug 920734 - Part 2: Update tests to avoid using orientation as variable name. r=seth 2015-10-23 21:37:35 -07:00
image-resize-percent-height.html Bug 1160635 patch 1 - Add reftests. r=dholbert 2015-05-06 08:52:19 +02:00
image-resize-percent-width.html Bug 1160635 patch 1 - Add reftests. r=dholbert 2015-05-06 08:52:19 +02:00
image-resize-ref.html Bug 1160635 patch 1 - Add reftests. r=dholbert 2015-05-06 08:52:19 +02:00
image-seam-1-ref.html
image-seam-1a.html
image-seam-1b.html
image-seam-2-ref.html
image-seam-2.html
image-srcset-basic-selection-0.1x-ref.html
image-srcset-basic-selection-0.1x.html
image-srcset-basic-selection-0.5x-ref.html
image-srcset-basic-selection-0.5x.html
image-srcset-basic-selection-0.6x-ref.html
image-srcset-basic-selection-0.6x.html
image-srcset-basic-selection-1.5x-ref.html
image-srcset-basic-selection-1.5x.html
image-srcset-basic-selection-1x-ref.html
image-srcset-basic-selection-1x.html
image-srcset-basic-selection-2x-ref.html
image-srcset-basic-selection-2x.html
image-srcset-basic-selection-width-0.5x-ref.html
image-srcset-basic-selection-width-0.5x.html
image-srcset-basic-selection-width-1x-ref.html
image-srcset-basic-selection-width-1x.html
image-srcset-basic-selection-width-2x-ref.html
image-srcset-basic-selection-width-2x.html
image-srcset-basic-selection-width-10x-ref.html
image-srcset-basic-selection-width-10x.html
image-srcset-default-1x-ref.html
image-srcset-default-1x.html
image-srcset-default-2x-ref.html
image-srcset-default-2x.html
image-srcset-default-src-1x-ref.html
image-srcset-default-src-1x.html
image-srcset-default-src-2x-ref.html
image-srcset-default-src-2x.html
image-srcset-isize-ref.html Bug 1149357: Make nsImageFrame::mIntrinsicSize account for density. r=dholbert 2018-05-25 12:09:23 +02:00
image-srcset-isize.html Bug 1149357: Make nsImageFrame::mIntrinsicSize account for density. r=dholbert 2018-05-25 12:09:23 +02:00
image-srcset-orientation-1x-ref.html
image-srcset-orientation-1x.html
image-srcset-orientation-2x-ref.html
image-srcset-orientation-2x.html
image-srcset-svg-1x-ref.html
image-srcset-svg-1x.html
image-srcset-svg-2x-ref.html
image-srcset-svg-2x.html
image-srcset-svg-3x-ref.html
image-srcset-svg-3x.html
image-srcset-svg-default-1x-ref.html
image-srcset-svg-default-1x.html
image-srcset-svg-default-2x-ref.html
image-srcset-svg-default-2x.html
image-zoom-1-ref.html
image-zoom-1.html
image-zoom-2.html
invalid-url-image-1-ref.html
invalid-url-image-1.html
moz-broken-matching-1-ref.html Bug 1341642 - Add a reftest for :-moz-broken r=emilio 2017-03-20 17:47:59 +03:00
moz-broken-matching-1.html Bug 1341642 - Add a reftest for :-moz-broken r=emilio 2017-03-20 17:47:59 +03:00
nearly-white.png
no-intrinsic-size.svg
reftest.list Bug 1149357: Make nsImageFrame::mIntrinsicSize account for density. r=dholbert 2018-05-25 12:09:23 +02:00
small.png
sync-image-switch-1-ref.html
sync-image-switch-1a.html
sync-image-switch-1b.html
sync-image-switch-1c.html
sync-image-switch-1d.html