[html5] r1369 - /

whatwg at whatwg.org whatwg at whatwg.org
Sat Mar 8 17:39:35 PST 2008


Author: ianh
Date: 2008-03-08 17:39:34 -0800 (Sat, 08 Mar 2008)
New Revision: 1369

Modified:
   index
   source
Log:
[] (0) Add the insertImage command

Modified: index
===================================================================
--- index	2008-03-08 09:20:52 UTC (rev 1368)
+++ index	2008-03-09 01:39:34 UTC (rev 1369)
@@ -24,7 +24,7 @@
 
    <h1 id=html-5>HTML 5</h1>
 
-   <h2 class="no-num no-toc" id=working>Working Draft — 8 March 2008</h2>
+   <h2 class="no-num no-toc" id=working>Working Draft — 9 March 2008</h2>
 
    <p>You can take part in this work. <a
     href="http://www.whatwg.org/mailing-list">Join the working group's
@@ -36042,6 +36042,31 @@
    <dd><strong>Value:</strong> Always the string "<code
     title="">false</code>".
 
+   <dt><dfn id=insertimage
+    title=command-insertImage><code>insertImage</code></dfn>
+
+   <dd><strong>Action:</strong> The user agent must act as if the user had
+    requested that the selection <a href="#contenteditable-wrapSemantic">be
+    wrapped in the semantics</a> of the <em title=""><code><a
+    href="#img">img</a></code></em> element (or, again, unwrapped, or have
+    that semantic inserted or removed, as defined by the UA). If the user
+    agent creates an <code><a href="#img">img</a></code> element or modifies
+    an existing <code><a href="#img">img</a></code> element, then if the <var
+    title="">doShowUI</var> argument is present and has the value false, then
+    the value of the <var title="">value</var> argument must be used as the
+    URI of the image. Otherwise, the user should be prompted for the URI of
+    the image.
+
+   <dd><strong>Enabled When:</strong> The document is <a href="#ready">ready
+    for editing host commands</a>.
+
+   <dd><strong>Indeterminate When:</strong> Never.
+
+   <dd><strong>State:</strong> Always false.
+
+   <dd><strong>Value:</strong> Always the string "<code
+    title="">false</code>".
+
    <dt><code><var title="">vendorID</var>-<var
     title="">customCommandID</var></code>
 

Modified: source
===================================================================
--- source	2008-03-08 09:20:52 UTC (rev 1368)
+++ source	2008-03-09 01:39:34 UTC (rev 1369)
@@ -33391,6 +33391,26 @@
    <dd><strong>State:</strong> Always false.</dd>
    <dd><strong>Value:</strong> Always the string "<code title="">false</code>".</dd>
 
+   <dt><dfn title="command-insertImage"><code>insertImage</code></dfn></dt>
+
+   <dd><strong>Action:</strong> The user agent must act as if the user
+   had requested that the selection <a
+   href="#contenteditable-wrapSemantic">be wrapped in the
+   semantics</a> of the <em title=""><code>img</code></em> element
+   (or, again, unwrapped, or have that semantic inserted or removed,
+   as defined by the UA). If the user agent creates an
+   <code>img</code> element or modifies an existing <code>img</code>
+   element, then if the <var title="">doShowUI</var> argument is
+   present and has the value false, then the value of the <var
+   title="">value</var> argument must be used as the URI of the
+   image. Otherwise, the user should be prompted for the URI of the
+   image.</dd>
+   <dd><strong>Enabled When:</strong> The document is <span>ready for
+   editing host commands</span>.</dd>
+   <dd><strong>Indeterminate When:</strong> Never.</dd>
+   <dd><strong>State:</strong> Always false.</dd>
+   <dd><strong>Value:</strong> Always the string "<code title="">false</code>".</dd>
+
    <dt><code><var title="">vendorID</var>-<var title="">customCommandID</var></code></dt>
 
    <dd><strong>Action:</strong> User agents may implement




More information about the Commit-Watchers mailing list