gecko-dev/image/test
Daniel Holbert 0414682ea1 Bug 1701510: Zero out the 'body' margin for all ImageDocuments (including iframes and printed images). r=emilio
This makes us match Blink and WebKit on how to render an iframe whose src
attribute is an image URL.  They seem to have always used 0 margin in this
case, and this seems preferable from an author's perspective (since the
standard HTML-body margin feels kind of arbitrary, when viewing an image).

Note that this change does also mean that images will be slightly closer to the
upper-left of the page, if they're viewed directly and then printed.  This
shouldn't cause them to be clipped or cause other issues; they'll still be
offset from the page edge by the printed-page margins, as well as any
unprintable areas that we get from the printer.

Differential Revision: https://phabricator.services.mozilla.com/D110294
2021-04-01 00:24:10 +00:00
..
browser Bug 1679758 - Remove trailing empty lines r=sylvestre,marionette-reviewers,jgraham 2020-12-15 10:34:54 +00:00
crashtests Bug 1676172. Add crashtest. r=aosmond 2020-11-13 08:31:02 +00:00
fuzzing Bug 1700808 - Initialize CMS in the fuzzing interface. r=aosmond 2021-03-25 11:47:21 +00:00
gtest Bug 1678487 - Ensure CMS is initialized all at once on the main thread, have thread-safe accessors for the various transforms. r=aosmond,jrmuizel 2021-03-08 18:12:06 +00:00
mochitest Bug 1701510: Zero out the 'body' margin for all ImageDocuments (including iframes and printed images). r=emilio 2021-04-01 00:24:10 +00:00
reftest Bug 1690845. Don't ask Windows for the icon of an empty file extension because it returns the c: drive icon, which is not what we want. r=Gijs 2021-02-24 22:29:06 +00:00
unit