This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
spec:page-view [2012/02/19 20:15] – [Proposals] bkemper | spec:page-view [2014/12/09 15:48] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 404: | Line 404: | ||
//TODO. Named breaks have been discussed, add a specific proposal here// | //TODO. Named breaks have been discussed, add a specific proposal here// | ||
+ | ===[css3-page]=== | ||
+ | [css3-page] already has this feature, we just need to make sure that it applies to ' | ||
+ | |||
+ | < | ||
+ | article h1 { page-break-before: | ||
+ | </ | ||
+ | |||
+ | The above code starts a new page whenever there is an H1, and then uses the @page named " | ||
+ | |||
+ | Even without considering regions and @slot, the " | ||
===== Printing generated pages ===== | ===== Printing generated pages ===== | ||
In many of the page view situation, it is reasonable to expect that user would wish to print the content that is already preseneted in paged manner. They may prefer to either print the exact pages that they see on screen, or re-generate adaptive content for print. Either way, they will be printing content of page view, which may not be the root element of HTML document. | In many of the page view situation, it is reasonable to expect that user would wish to print the content that is already preseneted in paged manner. They may prefer to either print the exact pages that they see on screen, or re-generate adaptive content for print. Either way, they will be printing content of page view, which may not be the root element of HTML document. | ||
Line 411: | Line 421: | ||
Running script before print (to generate a new set of pages for print media) -- may need an event on HTMLDocument (and not sure it is a good idea). | Running script before print (to generate a new set of pages for print media) -- may need an event on HTMLDocument (and not sure it is a good idea). | ||
+ | ===Proposal=== | ||
+ | * UA should treat any object with ' | ||
+ | * the ' | ||
====== Issues ====== | ====== Issues ====== | ||
* Paged view doesn' | * Paged view doesn' | ||
* Media queries for paged view/ | * Media queries for paged view/ |