Re: [css3-page] comments on last ED

Also sprach Daniel Glazman:

 >    Honestly, I have a strong concern about the 16 page-margin
 >    boxes. When I try to print from a browser on a office printer,
 >    here's what I get:
 > 
 >      http://pics.lockerz.com/s/284292098
 > 
 >    it allows me to specify the usual six page-margin boxes but not the
 >    10 extras.

Most publications need more than the six option you mention. Here's a picture
of the first three publications I grabbed from my shelf:

   http://people.opera.com/howcome/2013/tests/css3/samples.jpg

In other common publications, like Lonely Planet books or The
Economist and you will find more examples.

 >    Furthermore, the specification does not say how the
 >    settings in that dialog set/conflict/collide/override the ones in
 >    the stylesheets attached to the printed document. I think that is a
 >    concern.

The specification should not say anything about dialog boxes. But
implementation may regard settings from UI dialogs as part of the user
(or browser) style sheet. So it has its place in the cascade and
therefore a formal model for resolving conflicts.

 >    The 16 boxes are a mix of flows, flexing, tables and grids. We have
 >    now better on the radar in the CSS WG. I understand Paged Media 3
 >    has to be published because there are already implementations in the
 >    wild, but this is sooooo 2002...

In your preferred solution, how would you express this?:

   @page { @top-center { content: element(header) }}
   @page :left { @top-left { content: counter(page) }}
   @page :right { @top-right { content: counter(page) }}
   header { position: running(header) }

This is fairly typical styling at a level found in most novels. Both
before 2002, in 2002, and after 2002 :-)

Or this?:

   http://princexml.com/bb/viewtopic.php?f=5&t=3931

One leading publisher, Hachette, uses CSS to print and publish
hundreds of books on paper every year. Here's a presentation
describing their setup:

   http://infogridpacific.typepad.com/files/idpf-2012-cramer-smaller.pdf

Naturally, they depend on css3-page, margin boxes and statements like
the above to achieve this.

And implementations. Here's a test page for margin boxes along with
output from three formatters:

  http://people.opera.com/howcome/2013/tests/css3-page/page-margins.html
  http://people.opera.com/howcome/2013/tests/css3-page/antennahouse.pdf
  http://people.opera.com/howcome/2013/tests/css3-page/prince.pdf
  http://people.opera.com/howcome/2013/tests/css3-page/weasyprint.pdf

Antennahouse and Prince are interoperable. Weasyprint almost so. 

Given all this, I think it should be a priority for the WG to advance
the currently described functionality to REC.

Cheers,

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

Received on Wednesday, 20 February 2013 13:10:25 UTC