[html5] r841 - /

whatwg at whatwg.org whatwg at whatwg.org
Wed May 23 14:04:30 PDT 2007


Author: ianh
Date: 2007-05-23 14:04:29 -0700 (Wed, 23 May 2007)
New Revision: 841

Modified:
   index
   source
Log:
[] (0) window.print()

Modified: index
===================================================================
--- index	2007-05-23 20:53:11 UTC (rev 840)
+++ index	2007-05-23 21:04:29 UTC (rev 841)
@@ -22765,6 +22765,7 @@
   boolean <a href="#confirm" title=dom-confirm>confirm</a>(in DOMString message);
   DOMString <a href="#prompt" title=dom-prompt>prompt</a>(in DOMString message);
   DOMString <a href="#prompt" title=dom-prompt>prompt</a>(in DOMString message, in DOMString default);
+  void <a href="#print" title=dom-print>print</a>();
 
   // other browsing contexts
   readonly attribute <a href="#window">Window</a> <a href="#frames" title=dom-frames>frames</a>;
@@ -25843,6 +25844,15 @@
    aborts, then the method must return null; otherwise, the method must
    return the string that the user responded with.
 
+  <p>The <dfn id=print title=dom-print><code>print()</code></dfn> method,
+   when invoked, should offer the user the opportunity to <a
+   href="#obtain">obtain a physical form</a> of the document. The user agent
+   may make the method wait for the user to either accept or decline before
+   returning; if so, the user agent must <a href="#pause">pause</a> while the
+   method is waiting. (This does not, of course, preclude the user agent from
+   <em>always</em> offering the user with the opportunity to convert the
+   document to whatever media the user might want.)
+
   <h3 id=scripting><span class=secno>4.9. </span>Scripting</h3>
 
   <h4 id=running><span class=secno>4.9.1. </span>Running executable code</h4>
@@ -38795,6 +38805,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
+
   <h3 id=rendering0><span class=secno>10.1. </span>Rendering and the DOM</h3>
 
   <p class=big-issue>This section is wrong. mediaMode will end up on Window,

Modified: source
===================================================================
--- source	2007-05-23 20:53:11 UTC (rev 840)
+++ source	2007-05-23 21:04:29 UTC (rev 841)
@@ -20444,6 +20444,7 @@
   boolean <span title="dom-confirm">confirm</span>(in DOMString message);
   DOMString <span title="dom-prompt">prompt</span>(in DOMString message);
   DOMString <span title="dom-prompt">prompt</span>(in DOMString message, in DOMString default);
+  void <span title="dom-print">print</span>();
 
   // other browsing contexts
   readonly attribute <span>Window</span> <span title="dom-frames">frames</span>;
@@ -23310,9 +23311,18 @@
   user aborts, then the method must return null; otherwise, the method
   must return the string that the user responded with.</p>
 
+  <p>The <dfn title="dom-print"><code>print()</code></dfn> method,
+  when invoked, should offer the user the opportunity to <span>obtain
+  a physical form</span> of the document. The user agent may make the
+  method wait for the user to either accept or decline before
+  returning; if so, the user agent must <span>pause</span> while the
+  method is waiting.  (This does not, of course, preclude the user
+  agent from <em>always</em> offering the user with the opportunity to
+  convert the document to whatever media the user might want.)</p>
 
 
 
+
   <h3 id="scripting">Scripting</h3>
 
   <h4>Running executable code</h4>
@@ -35420,7 +35430,11 @@
 -->
 
 
+  <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>
 
+
   <h3>Rendering and the DOM</h3>
 
   <p class="big-issue">This section is wrong. mediaMode will end up on




More information about the Commit-Watchers mailing list