[css3-page] 6.3 ++

I've reviewed:

    http://dev.w3.org/csswg/css3-page/

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:

   http://lists.w3.org/Archives/Public/www-style/2010Aug/0155.html

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

--

Second, I described a use case here:

  http://lists.w3.org/Archives/Public/www-style/2010Aug/0152.html

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); 
    } 
  }

  http://lists.w3.org/Archives/Public/www-style/2009Feb/0562.html

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
selectors.

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:

  http://www.w3.org/TR/css3-multicol/#break-before-break-after-break-inside

--

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?

--

Cheers,

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome

Received on Wednesday, 20 February 2013 06:27:21 UTC