trisquel-icecat/icecat/testing/web-platform/tests/css/css-page/page-margin-negative-print.tentative.html

24 lines
615 B
HTML

<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-page-3/#page-properties">
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/8508">
<link rel="match" href="page-margin-negative-print-ref.tentative.html">
<style>
@page {
size: 300px;
margin: -20px;
}
body {
margin: 0;
background: yellow;
}
.fullpager {
width: 300px;
height: 300px;
border: 20px solid red;
background: green;
}
</style>
<div class="fullpager">
Green background, no red / yellow.
</div>