Re: [CSS21] Error in position:fixed and print medium

Ian,

My suggested amendments are as follows, assuming they are worth doing in  
CSS21 rather than waiting for CSS3.

CSS21 9.3.1

Change "page" to "page box":-

"In the case of the print media type, the box is rendered in every page  
box, and is fixed with respect to the page box, even if the page box is  
seen through a viewport (in the case of a print-preview, for example)."

Add a second example:-

"Conversely, an author may want a box not to appear on the screen but to  
appear at the top or bottom of each printed page to give a print header or  
footer: see Section 13.2.3."

CSS21 13.2

Section 13.2.3 should give a further bulleted recommendation regarding  
page box overflow:-

"If the page box is given a negative margin, then content in the page area  
that overflows the page box should be printed. This provides, for example,  
for print headers and footers (see Section 9.3.1)."

The only reference to page box and page area that I can find in CSS21 is  
in 13.2. You said earlier "That the overflow is hidden is a bug in the  
implementations, not in the spec". Strictly, we're talking about overflow  
on the page box not on <body>, although that could be considered a fine  
distinction. The overflow property (11.1.1) applies to defined types of  
element but there is no element corresponding to page box. In addition to  
the bullet point above, the overflow property could be defined (in  
13.2.3?) specifically for the page box, with values of visible and hidden  
only and an initial value of visible. But I'm not sure this is absolutely  
necessary.

-- 
Jim Wilkinson

Cardiff, Wales UK

Opera e-mail client: http://www.opera.com/m2/

Received on Friday, 26 November 2004 18:21:43 UTC