You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>In the page model, the page background behaves similar to the root background:
339
-
its <adata-link-spec=css-backgroundsdata-link-type=dfnhref=http://dev.w3.org/csswg/css-backgrounds-4/#background-painting-areatitle="background painting area">background painting area</a>
340
-
is the entire page box, including its margins (regardless of <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-backgrounds-4/#background-cliptitle=background-clip>background-clip</a>).
383
+
its <adata-link-spec=css-backgroundsdata-link-type=dfnhref=http://dev.w3.org/csswg/css-backgrounds-4/#background-painting-areatitle="background painting area">background painting area</a> is the <adata-link-type=dfnhref=#bleed-areatitle="bleed area">bleed area</a>,
384
+
which covers the entire page box, including its margins (regardless of <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-backgrounds-4/#background-cliptitle=background-clip>background-clip</a>).
341
385
Page backgrounds are anchored within the page box’s padding area by default
342
386
(and honor <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-backgrounds-4/#background-origintitle=background-origin>background-origin</a> if the UA supports <adata-biblio-type=normativedata-link-type=bibliohref=#css3bgtitle=css3bg>[CSS3BG]</a>).
343
387
However if <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-backgrounds-4/#background-attachmenttitle=background-attachment>background-attachment</a> is <spanclass=cssdata-link-type=maybetitle=fixed>fixed</span>
344
388
then the image is positioned relative to the page box including its margins
345
-
(i.e. the <adata-link-spec=css-backgroundsdata-link-type=dfnhref=http://dev.w3.org/csswg/css-backgrounds-4/#background-positioning-areatitle="background positioning area">background positioning area</a>,
346
-
like the <adata-link-spec=css-backgroundsdata-link-type=dfnhref=http://dev.w3.org/csswg/css-backgrounds-4/#background-painting-areatitle="background painting area">background painting area</a>, is the page’s margin box).
389
+
(i.e. the <adata-link-spec=css-backgroundsdata-link-type=dfnhref=http://dev.w3.org/csswg/css-backgrounds-4/#background-positioning-areatitle="background positioning area">background positioning area</a>
390
+
is the page’s margin box).
347
391
348
392
<p>The document canvas background is drawn as the page box’s background:
349
393
by default its <adata-link-spec=css-backgroundsdata-link-type=dfnhref=http://dev.w3.org/csswg/css-backgrounds-4/#background-painting-areatitle="background painting area">background painting area</a> covers the page box’s border box,
a specified 'content: normal' on a page-margin box computes to <spanclass=cssdata-link-type=maybetitle=none>none</span>.
1072
1116
A page-margin box is <dfndata-dfn-type=dfndata-noexport="" id=generated>generated<aclass=self-linkhref=#generated></a></dfn>
1073
1117
if and only if the computed value of its <aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-content-3/#contenttitle=content>content</a> property is not <spanclass=cssdata-link-type=maybetitle=none>none</span>.
1074
-
Otherwise, no box is generated, as for elements with <aclass="css css-code" data-link-type=propertyhref=http://www.w3.org/TR/CSS21/visuren.html#propdef-displaytitle=display>display: none</a>.
1118
+
Otherwise, no box is generated, as for elements with <aclass=cssdata-link-type=propdeschref=http://www.w3.org/TR/CSS21/visuren.html#propdef-displaytitle=display>display: none</a>.
1075
1119
1076
1120
<pclass=note>
1077
1121
The <aclass=propertydata-link-type=propdeschref=http://www.w3.org/TR/CSS21/visuren.html#propdef-displaytitle=display>display</a> property does not apply to page-margin boxes.
<dd>Whichever of <adata-link-spec=css-sizingdata-link-type=dfnhref=http://dev.w3.org/csswg/css-sizing-3/#min-content-measuretitle="min-content measure">min-content measure</a>
1181
+
<dd>Whichever of <adata-link-spec=css-sizingdata-link-type=dfnhref=http://dev.w3.org/csswg/css-sizing-3/#min-content-measuremin-measuremin-content-sizetitle="min-content measure">min-content measure</a>
1138
1182
or <adata-link-spec=css-sizingdata-link-type=dfnhref=http://dev.w3.org/csswg/css-sizing-3/#min-content-extenttitle="min-content extent">min-content extent</a> is the physical width.
<dd>Whichever of <adata-link-spec=css-sizingdata-link-type=dfnhref=http://dev.w3.org/csswg/css-sizing-3/#max-content-measuretitle="max-content measure">max-content measure</a>
1185
+
<dd>Whichever of <adata-link-spec=css-sizingdata-link-type=dfnhref=http://dev.w3.org/csswg/css-sizing-3/#max-content-measuremax-measuremax-content-sizetitle="max-content measure">max-content measure</a>
1142
1186
or <adata-link-spec=css-sizingdata-link-type=dfnhref=http://dev.w3.org/csswg/css-sizing-3/#max-content-extenttitle="max-content extent">max-content extent</a> is the physical width.
1143
1187
1144
1188
<dt><dfndata-dfn-type=dfndata-noexport="" id=outer-min-width>outer min width<aclass=self-linkhref=#outer-min-width></a></dfn></dt>
<p>The <aclass=propertydata-link-type=propdeschref=#propdef-markstitle=marks>marks</a> property from <adata-biblio-type=informativedata-link-type=bibliohref=#css2title=css2>[CSS2]</a> is part of this specification.
<tableclass=propdef><tr><th>Name:<td><dfnclass=css-codedata-dfn-type=propertydata-export="" id=propdef-bleed>bleed<aclass=self-linkhref=#propdef-bleed></a></dfn><tr><th>Value:<td><aclass="production css-code" data-link-type=typehref=http://dev.w3.org/csswg/css-values-3/#length-valuetitle="<length>"><length></a><tr><th>Initial:<td>6pt<tr><th>Applies to:<td>page context<tr><th>Inherited:<td>no<tr><th>Media:<td>visual, paged<tr><th>Computed value:<td>as specified<tr><th>Percentages:<td>refer to width of page box</table>
1955
-
<p>This property specifies the extent of the page bleed area outside
1956
-
the page box. This property only has effect if crop marks are enabled.
1998
+
<tableclass="definition propdef"><tr><th>Name:<td><dfnclass=css-codedata-dfn-type=propertydata-export="" id=propdef-bleed>bleed<aclass=self-linkhref=#propdef-bleed></a></dfn><tr><th>Value:<td><aclass="production css-code" data-link-type=typehref=http://dev.w3.org/csswg/css-values-3/#length-valuetitle="<length>"><length></a><tr><th>Initial:<td>6pt<tr><th>Applies to:<td>page context<tr><th>Inherited:<td>no<tr><th>Media:<td>visual, paged<tr><th>Computed value:<td>as specified<tr><th>Percentages:<td>refer to width of page box</table>
1999
+
<p>This property specifies the extent of the page <dfndata-dfn-type=dfndata-noexport="" id=bleed-area>bleed area<aclass=self-lin
A0B2
khref=#bleed-area></a></dfn> outside the page box;
2000
+
in other words the extent beyond the page box at which the page rendering is clipped.
2001
+
This property only has effect if crop marks are enabled.
1957
2002
2003
+
<pclass=issueid=issue-2a27e9ba><aclass=self-linkhref=#issue-2a27e9ba></a>Can bleed be negative?
1958
2004
1959
2005
<h3class="heading settled heading" data-level=7.3id=renderingpages><spanclass=secno>7.3 </span><spanclass=content>Rendering page boxes that do not fit a page sheet</span><aclass=self-linkhref=#renderingpages></a></h3>
<tr><thscope=row><adata-property="">bleed</a><td><length><td>6pt<td>page context<td>no<td>refer to width of page box<td>visual, paged<td>as specified
2657
2704
<tr><thscope=row><adata-property="">page</a><td>auto | <identifier><td>auto<td>boxes that create class A break points<td>no (but see prose)<td>N/A<td>paged<td>specified value</table></div>
0 commit comments