W3C home > Mailing lists > Public > www-style@w3.org > February 2013

[css3-page] 6.3 ++

From: Håkon Wium Lie <howcome@opera.com>
Date: Wed, 20 Feb 2013 07:26:42 +0100
Message-ID: <20772.27810.287583.457516@gargle.gargle.HOWL>
To: www-style@w3.org, fantasai <fantasai@inkedblade.net>
I've reviewed:


I support the functionality described in the draft, I routinely use it
to produce printed materials. But I'd like to ensure that some issues
are addressed:

First, section 6.3 still seems complicated. I think the underlying
model is quite simple and I've sketched a 6.3-replacement here:


Which seems easier to read and still has the required specificity?


Second, I described a use case here:


Basically, I'd like to make sure that 'width' is honored on margin
boxes, even when neighboring boxes have no content. I can't quite
determine if this is supported in the current section 6.3. 


Third, I'd like to see comma-separated page selectors:

  @page foo, bar { 
    @bottom-right: { 
      content: counter(page); 


This is currently supported in the text/grammar, but no examples are
shown. And the feature is labeled at-risk:

  Multiple selectors may be combined with a comma (which may be
  preceded and/or followed by white space); in this case the ‘@page’
  rule applies to pages that match any of the page selectors. (Note:
  this feature is at-risk.) If no page selector is given, then the
  ‘@page’ rule applies to all pages.

I suggest removing the at-risk comment; Prince, at least, supports
this. I suspect that WeasyPrint and wkhtmltohtml will support
comma-separated selectors once they add support for named pages. That
is, the hard part is supporinng named pages, not comma-separted

I also suggest adding and example, e.g.:

  @page portrait { size: a5 portrait }
  @page landscape { size: a5 landscape }
  @page portrait, landscape { margin: 8% }


Fourth, the draft refers to 'page-break-before'/'page-break-after'. I
suggest referring to 'break-before'/'break-after' instead:



Fifth, returning to 6.3: where is 'outer width' defined?


Sixth, I think the draft should say something about abspos elements:
which page is the containg block -- the first or the natural page?



              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Wednesday, 20 February 2013 06:27:21 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:26 UTC