[html5] r1725 - /

whatwg at whatwg.org whatwg at whatwg.org
Thu Jun 5 16:57:19 PDT 2008


Author: ianh
Date: 2008-06-05 16:57:18 -0700 (Thu, 05 Jun 2008)
New Revision: 1725

Modified:
   index
   source
Log:
[e] (0) Examples for previous checkin, more notes regarding printing.

Modified: index
===================================================================
--- index	2008-06-05 23:41:05 UTC (rev 1724)
+++ index	2008-06-05 23:57:18 UTC (rev 1725)
@@ -30164,6 +30164,10 @@
      href="#nested0" title="nested browsing context">nested browsing
      contexts</a> in it.</p>
 
+    <p class=example>The <code title=event-onbeforeprint>onbeforeprint</code>
+     event can be used to annotate the printed copy, for instance adding the
+     time at which the document was printed.</p>
+
    <li>
     <p>The user agent should offer the user the opportunity to <a
      href="#obtain">obtain a physical form</a> (or the representation of a
@@ -30181,6 +30185,13 @@
      <code>Document</code> that is being printed, as well as any <a
      href="#nested0" title="nested browsing context">nested browsing
      contexts</a> in it.</p>
+
+    <p class=example>The <code title=event-onafterprint>onafterprint</code>
+     event can be used to revert annotations added in the earlier event, as
+     well as showing post-printing UI. For instance, if a page is walking the
+     user through the steps of applying for a home loan, the script could
+     automatically advance to the next step after having printed a form or
+     other.</p>
   </ol>
 
   <h4 id=dialogs><span class=secno>4.5.3 </span>Dialogs implemented using
@@ -51422,9 +51433,10 @@
 
 -->
 
-  <p class=big-issue> must define letting the user <dfn id=obtain>obtain a
-   physical form</dfn> of a document (printing) and what this means for the
-   UA
+  <p class=big-issue> must define letting the user "<dfn id=obtain>obtain a
+   physical form</dfn> (or a representation of a physical form)" of a
+   document (printing) and what this means for the UA, in particular creating
+   a new view for the print media.
 
   <p class=big-issue>Must define that in CSS, tag names in HTML documents,
    and class names in quirks mode documents, are case-insensitive.

Modified: source
===================================================================
--- source	2008-06-05 23:41:05 UTC (rev 1724)
+++ source	2008-06-05 23:57:18 UTC (rev 1725)
@@ -27909,6 +27909,11 @@
     <code>Document</code> that is being printed, as well as any <span
     title="nested browsing context">nested browsing contexts</span> in
     it.</p>
+
+    <p class="example">The <code
+    title="event-onbeforeprint">onbeforeprint</code> event can be used
+    to annotate the printed copy, for instance adding the time at
+    which the document was printed.</p>
    
    </li>
 
@@ -27935,12 +27940,19 @@
     title="nested browsing context">nested browsing contexts</span> in
     it.</p>
 
+    <p class="example">The <code
+    title="event-onafterprint">onafterprint</code> event can be used
+    to revert annotations added in the earlier event, as well as
+    showing post-printing UI. For instance, if a page is walking the
+    user through the steps of applying for a home loan, the script
+    could automatically advance to the next step after having printed
+    a form or other.</p>
+
    </li>
 
   </ol>
 
 
-
   <h4>Dialogs implemented using separate documents</h4>
 
   <p>The <dfn title="dom-showModalDialog"><code>showModalDialog(<var
@@ -46630,9 +46642,10 @@
 -->
 
 
-  <p class="big-issue"> must define letting the user <dfn>obtain a
-  physical form</dfn> of a document (printing) and what this means for
-  the UA </p>
+  <p class="big-issue"> must define letting the user "<dfn>obtain a
+  physical form</dfn> (or a representation of a physical form)" of a
+  document (printing) and what this means for the UA, in particular
+  creating a new view for the print media.</p>
 
   <p class="big-issue">Must define that in CSS, tag names in HTML
   documents, and class names in quirks mode documents, are




More information about the Commit-Watchers mailing list