(Related to #8335 , but now for margin...)
I don't think the css-page-3 spec ( https://w3c.github.io/csswg-drafts/css-page-3/ ) defines what to do (if anything) with negative @page { margin: ...} values (though I may have overlooked it).
In practice:
- Chromium seems to honor negative
@page margins, effectively inflating the page content area beyond the bounds of the sheet of paper on the sides that have negative margins. (So, content gets clipped on those sides, generally.)
- Firefox clamps negative
@page margin to 0 (or rather, to the printer's writable page area) with the intent of keeping page content on the sheet. (as of https://bugzilla.mozilla.org/show_bug.cgi?id=1665001 )