fune/testing/web-platform/tests/css/css-values/viewport-units-001-print-ref.html
Emilio Cobos Álvarez 7c7897149c Bug 1414600 - Make media queries and viewport units in print be evaluated against the default page size minus margins. r=dholbert,nordzilla
For that, move the default page margin computation to nsPresContext.

See https://github.com/w3c/csswg-drafts/issues/5437 as to why doing this
and other alternatives.

Differential Revision: https://phabricator.services.mozilla.com/D87311
2020-08-19 10:32:16 +00:00

13 lines
268 B
HTML

<!doctype html>
<meta charset="utf-8">
<title>CSS test reference</title>
<style>
body { margin: 0 }
:root {
box-sizing: border-box;
width: 100%;
height: 100%;
border: 1px solid black;
}
</style>
<div>I should not overflow to the next page.</div>