Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
spec:page-view [2012/02/19 20:30] – [Column breaks and page breaks in regions] bkemperspec:page-view [2012/02/19 20:44] – [Printing generated pages] bkemper
Line 421: 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 'overflow:paged' in a way similar to iframes: providing UI to print just that one element, but defaulting to print it along with the entire root page. If printing just the overflow:paged element, its position within its parent or ancestors is ignored, and the upper left corner of the element will go in the upper left corner of the printable area of the paper. Right-clicking on an element should also present an option to print any of the ancestors that have 'overflow:paged' on them.
 +  * the '.print()' function of 'window' should be extended to also be used on any element, so that document.getElementById("myPagedView").print() would work to print that one element. Then authors can include a button to print their paged element.
 ====== Issues ====== ====== Issues ======
   * Paged view doesn't automatically mean "paged media" (which is commonly used as "for printing" and can't be repurposed). Should there be a way to declare that a paginating viewer (e.g. iframe) needs to render the same visuals as what would be printed?   * Paged view doesn't automatically mean "paged media" (which is commonly used as "for printing" and can't be repurposed). Should there be a way to declare that a paginating viewer (e.g. iframe) needs to render the same visuals as what would be printed?
   * Media queries for paged view/columns/regions?   * Media queries for paged view/columns/regions?
 
spec/page-view.txt · Last modified: 2014/12/09 15:48 by 127.0.0.1
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki