[html5] r1436 - /
whatwg at whatwg.org
whatwg at whatwg.org
Sun Apr 13 00:35:20 PDT 2008
Author: ianh
Date: 2008-04-13 00:35:17 -0700 (Sun, 13 Apr 2008)
New Revision: 1436
Modified:
index
source
Log:
[e] (0) Sort the various commands alphabetically.
Modified: index
===================================================================
--- index 2008-04-12 09:12:51 UTC (rev 1435)
+++ index 2008-04-13 07:35:17 UTC (rev 1436)
@@ -24,7 +24,7 @@
<h1 id=html-5>HTML 5</h1>
- <h2 class="no-num no-toc" id=working>Working Draft — 12 April 2008</h2>
+ <h2 class="no-num no-toc" id=working>Working Draft — 13 April 2008</h2>
<p>You can take part in this work. <a
href="http://www.whatwg.org/mailing-list">Join the working group's
@@ -36134,101 +36134,6 @@
<dd><strong>Value:</strong> Always the string "<code
title="">false</code>".
- <dt><dfn id=redo0 title=command-redo><code>redo</code></dfn>
-
- <dd><strong>Action:</strong> The user agent must <a href="#redo-moving0"
- title=do-redo>move forward one step</a> in its <a
- href="#undo-transaction">undo transaction history</a>, restoring the
- associated state. If the <a href="#current3">undo position</a> is at the
- end of the <a href="#undo-transaction">undo transaction history</a>, the
- user agent must do nothing. See the <a href="#undo-history">undo
- history</a>.
-
- <dd><strong>Enabled When:</strong> The <a href="#current3">undo
- position</a> is not at the end of the <a href="#undo-transaction">undo
- transaction history</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><dfn id=selectall0
- title=command-selectAll><code>selectAll</code></dfn>
-
- <dd><strong>Action:</strong> The user agent must change the selection so
- that all the content in the currently focused <a href="#editing1">editing
- host</a> is selected. If no <a href="#editing1">editing host</a> is
- focused, then the content of the entire document must be selected.
-
- <dd><strong>Enabled When:</strong> Always.
-
- <dd><strong>Indeterminate When:</strong> Never.
-
- <dd><strong>State:</strong> Always false.
-
- <dd><strong>Value:</strong> Always the string "<code
- title="">false</code>".
-
- <dt><dfn id=unselect title=command-unselect><code>unselect</code></dfn>
-
- <dd><strong>Action:</strong> The user agent must change the selection so
- that nothing is selected.
-
- <dd><strong>Enabled When:</strong> Always.
-
- <dd><strong>Indeterminate When:</strong> Never.
-
- <dd><strong>State:</strong> Always false.
-
- <dd><strong>Value:</strong> Always the string "<code
- title="">false</code>".
-
- <dt><dfn id=superscript
- title=command-superscript><code>superscript</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 <code><a href="#sup">sup</a></code>
- element (or unwrapped, or, if there is no selection, have that semantic
- inserted or removed — the exact behaviour is UA-defined).
-
- <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> True if the selection, or the caret, if there
- is no selection, is, or is contained within, a <code><a
- href="#sup">sup</a></code> element. False otherwise.
-
- <dd><strong>Value:</strong> The string "<code title="">true</code>" if the
- expression given for the "State" above is true, the string "<code
- title="">false</code>" otherwise.
-
- <dt><dfn id=subscript title=command-subscript><code>subscript</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="#sub">sub</a></code></em> element (or, again, unwrapped, or have
- that semantic inserted or removed, as defined by the UA).
-
- <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> True if the selection, or the caret, if there
- is no selection, is, or is contained within, a <code><a
- href="#sub">sub</a></code> element. False otherwise.
-
- <dd><strong>Value:</strong> The string "<code title="">true</code>" if the
- expression given for the "State" above is true, the string "<code
- title="">false</code>" otherwise.
-
<dt><dfn id=bold title=command-bold><code>bold</code></dfn>
<dd><strong>Action:</strong> The user agent must act as if the user had
@@ -36250,27 +36155,6 @@
expression given for the "State" above is true, the string "<code
title="">false</code>" otherwise.
- <dt><dfn id=italic title=command-italic><code>italic</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="#i">i</a></code></em> element (or, again, unwrapped, or have that
- semantic inserted or removed, as defined by the UA).
-
- <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> True if the selection, or the caret, if there
- is no selection, is, or is contained within, a <code><a
- href="#i">i</a></code> element. False otherwise.
-
- <dd><strong>Value:</strong> The string "<code title="">true</code>" if the
- expression given for the "State" above is true, the string "<code
- title="">false</code>" otherwise.
-
<dt><dfn id=createlink
title=command-createLink><code>createLink</code></dfn>
@@ -36296,15 +36180,13 @@
<dd><strong>Value:</strong> Always the string "<code
title="">false</code>".
- <dt><dfn id=unlink title=command-unlink><code>unlink</code></dfn>
+ <dt><dfn id=delete title=command-delete><code>delete</code></dfn>
- <dd><strong>Action:</strong> The user agent must remove all <code><a
- href="#a">a</a></code> elements that have <code
- title=attr-a-href>href</code> attributes and that are partially or
- completely included in the current selection.
+ <dd><strong>Action:</strong> The user agent must act as if the user had
+ performed <a href="#contenteditable-delete">a backspace operation</a>.
- <dd><strong>Enabled When:</strong> The document has a selection that is
- entirely within an <a href="#editing1">editing host</a>.
+ <dd><strong>Enabled When:</strong> The document is <a href="#ready">ready
+ for editing host commands</a>.
<dd><strong>Indeterminate When:</strong> Never.
@@ -36362,10 +36244,12 @@
<dd><strong>Value:</strong> Always the string "<code
title="">false</code>".
- <dt><dfn id=delete title=command-delete><code>delete</code></dfn>
+ <dt><dfn id=forwarddelete
+ title=command-forwardDelete><code>forwardDelete</code></dfn>
<dd><strong>Action:</strong> The user agent must act as if the user had
- performed <a href="#contenteditable-delete">a backspace operation</a>.
+ performed <a href="#contenteditable-delete">a forward delete
+ operation</a>.
<dd><strong>Enabled When:</strong> The document is <a href="#ready">ready
for editing host commands</a>.
@@ -36377,12 +36261,20 @@
<dd><strong>Value:</strong> Always the string "<code
title="">false</code>".
- <dt><dfn id=forwarddelete
- title=command-forwardDelete><code>forwardDelete</code></dfn>
+ <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
- performed <a href="#contenteditable-delete">a forward delete
- operation</a>.
+ 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="">showUI</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>.
@@ -36410,12 +36302,14 @@
<dd><strong>Value:</strong> Always the string "<code
title="">false</code>".
- <dt><dfn id=insertparagraph
- title=command-insertParagraph><code>insertParagraph</code></dfn>
+ <dt><dfn id=insertorderedlist
+ title=command-insertOrderedList><code>insertOrderedList</code></dfn>
<dd><strong>Action:</strong> The user agent must act as if the user had
- performed a <a href="#contenteditable-breakBlock">break block</a> editing
- action.
+ requested that the selection <a href="#contenteditable-wrapSemantic">be
+ wrapped in the semantics</a> of the <code><a href="#ol">ol</a></code>
+ element (or unwrapped, or, if there is no selection, have that semantic
+ inserted or removed — the exact behaviour is UA-defined).
<dd><strong>Enabled When:</strong> The document is <a href="#ready">ready
for editing host commands</a>.
@@ -36427,12 +36321,12 @@
<dd><strong>Value:</strong> Always the string "<code
title="">false</code>".
- <dt><dfn id=insertorderedlist
+ <dt><dfn id=insertorderedlist0
title=command-insertOrderedList><code>insertOrderedList</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 <code><a href="#ol">ol</a></code>
+ wrapped in the semantics</a> of the <code><a href="#ul">ul</a></code>
element (or unwrapped, or, if there is no selection, have that semantic
inserted or removed — the exact behaviour is UA-defined).
@@ -36446,14 +36340,12 @@
<dd><strong>Value:</strong> Always the string "<code
title="">false</code>".
- <dt><dfn id=insertorderedlist0
- title=command-insertOrderedList><code>insertOrderedList</code></dfn>
+ <dt><dfn id=insertparagraph
+ title=command-insertParagraph><code>insertParagraph</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 <code><a href="#ul">ul</a></code>
- element (or unwrapped, or, if there is no selection, have that semantic
- inserted or removed — the exact behaviour is UA-defined).
+ performed a <a href="#contenteditable-breakBlock">break block</a> editing
+ action.
<dd><strong>Enabled When:</strong> The document is <a href="#ready">ready
for editing host commands</a>.
@@ -36482,31 +36374,139 @@
<dd><strong>Value:</strong> Always the string "<code
title="">false</code>".
- <dt><dfn id=insertimage
- title=command-insertImage><code>insertImage</code></dfn>
+ <dt><dfn id=italic title=command-italic><code>italic</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="">showUI</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.
+ href="#i">i</a></code></em> element (or, again, unwrapped, or have that
+ semantic inserted or removed, as defined by the UA).
<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> True if the selection, or the caret, if there
+ is no selection, is, or is contained within, a <code><a
+ href="#i">i</a></code> element. False otherwise.
+
+ <dd><strong>Value:</strong> The string "<code title="">true</code>" if the
+ expression given for the "State" above is true, the string "<code
+ title="">false</code>" otherwise.
+
+ <dt><dfn id=redo0 title=command-redo><code>redo</code></dfn>
+
+ <dd><strong>Action:</strong> The user agent must <a href="#redo-moving0"
+ title=do-redo>move forward one step</a> in its <a
+ href="#undo-transaction">undo transaction history</a>, restoring the
+ associated state. If the <a href="#current3">undo position</a> is at the
+ end of the <a href="#undo-transaction">undo transaction history</a>, the
+ user agent must do nothing. See the <a href="#undo-history">undo
+ history</a>.
+
+ <dd><strong>Enabled When:</strong> The <a href="#current3">undo
+ position</a> is not at the end of the <a href="#undo-transaction">undo
+ transaction history</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><dfn id=selectall0
+ title=command-selectAll><code>selectAll</code></dfn>
+
+ <dd><strong>Action:</strong> The user agent must change the selection so
+ that all the content in the currently focused <a href="#editing1">editing
+ host</a> is selected. If no <a href="#editing1">editing host</a> is
+ focused, then the content of the entire document must be selected.
+
+ <dd><strong>Enabled When:</strong> Always.
+
+ <dd><strong>Indeterminate When:</strong> Never.
+
+ <dd><strong>State:</strong> Always false.
+
+ <dd><strong>Value:</strong> Always the string "<code
+ title="">false</code>".
+
+ <dt><dfn id=subscript title=command-subscript><code>subscript</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="#sub">sub</a></code></em> element (or, again, unwrapped, or have
+ that semantic inserted or removed, as defined by the UA).
+
+ <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> True if the selection, or the caret, if there
+ is no selection, is, or is contained within, a <code><a
+ href="#sub">sub</a></code> element. False otherwise.
+
+ <dd><strong>Value:</strong> The string "<code title="">true</code>" if the
+ expression given for the "State" above is true, the string "<code
+ title="">false</code>" otherwise.
+
+ <dt><dfn id=superscript
+ title=command-superscript><code>superscript</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 <code><a href="#sup">sup</a></code>
+ element (or unwrapped, or, if there is no selection, have that semantic
+ inserted or removed — the exact behaviour is UA-defined).
+
+ <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> True if the selection, or the caret, if there
+ is no selection, is, or is contained within, a <code><a
+ href="#sup">sup</a></code> element. False otherwise.
+
+ <dd><strong>Value:</strong> The string "<code title="">true</code>" if the
+ expression given for the "State" above is true, the string "<code
+ title="">false</code>" otherwise.
+
+ <dt><dfn id=unlink title=command-unlink><code>unlink</code></dfn>
+
+ <dd><strong>Action:</strong> The user agent must remove all <code><a
+ href="#a">a</a></code> elements that have <code
+ title=attr-a-href>href</code> attributes and that are partially or
+ completely included in the current selection.
+
+ <dd><strong>Enabled When:</strong> The document has a selection that is
+ entirely within an <a href="#editing1">editing host</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><dfn id=unselect title=command-unselect><code>unselect</code></dfn>
+
+ <dd><strong>Action:</strong> The user agent must change the selection so
+ that nothing is selected.
+
+ <dd><strong>Enabled When:</strong> Always.
+
+ <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-04-12 09:12:51 UTC (rev 1435)
+++ source 2008-04-13 07:35:17 UTC (rev 1436)
@@ -33654,7 +33654,6 @@
<dl>
<dt><dfn title="command-undo"><code>undo</code></dfn></dt>
-
<dd><strong>Action:</strong> The user agent must <span
title="do-undo">move back one step</span> in its <span>undo
transaction history</span>, restoring the associated state. If the
@@ -33668,80 +33667,7 @@
<dd><strong>State:</strong> Always false.</dd>
<dd><strong>Value:</strong> Always the string "<code title="">false</code>".</dd>
- <dt><dfn title="command-redo"><code>redo</code></dfn></dt>
-
- <dd><strong>Action:</strong> The user agent must <span
- title="do-redo">move forward one step</span> in its <span>undo
- transaction history</span>, restoring the associated state. If the
- <span>undo position</span> is at the end of the <span>undo
- transaction history</span>, the user agent must do nothing. See the
- <span>undo history</span>.</dd>
- <dd><strong>Enabled When:</strong> The <span>undo position</span>
- is not at the end of the <span>undo transaction
- history</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><dfn title="command-selectAll"><code>selectAll</code></dfn></dt>
-
- <dd><strong>Action:</strong> The user agent must change the
- selection so that all the content in the currently focused
- <span>editing host</span> is selected. If no <span>editing
- host</span> is focused, then the content of the entire document
- must be selected.</dd>
- <dd><strong>Enabled When:</strong> Always.</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><dfn title="command-unselect"><code>unselect</code></dfn></dt>
-
- <dd><strong>Action:</strong> The user agent must change the
- selection so that nothing is selected.</dd>
- <dd><strong>Enabled When:</strong> Always.</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><dfn title="command-superscript"><code>superscript</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 <code>sup</code> element (or unwrapped, or, if
- there is no selection, have that semantic inserted or removed
- — the exact behaviour is UA-defined).</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> True if the selection, or the caret, if
- there is no selection, is, or is contained within, a
- <code>sup</code> element. False otherwise.</dd>
- <dd><strong>Value:</strong> The string "<code title="">true</code>"
- if the expression given for the "State" above is true, the string
- "<code title="">false</code>" otherwise.</dd>
-
- <dt><dfn title="command-subscript"><code>subscript</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>sub</code></em> element
- (or, again, unwrapped, or have that semantic inserted or removed,
- as defined by the UA).</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> True if the selection, or the caret, if
- there is no selection, is, or is contained within, a
- <code>sub</code> element. False otherwise.</dd>
- <dd><strong>Value:</strong> The string "<code title="">true</code>"
- if the expression given for the "State" above is true, the string
- "<code title="">false</code>" otherwise.</dd>
-
<dt><dfn title="command-bold"><code>bold</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
@@ -33758,26 +33684,7 @@
if the expression given for the "State" above is true, the string
"<code title="">false</code>" otherwise.</dd>
- <dt><dfn title="command-italic"><code>italic</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>i</code></em> element
- (or, again, unwrapped, or have that semantic inserted or removed,
- as defined by the UA).</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> True if the selection, or the caret, if
- there is no selection, is, or is contained within, a
- <code>i</code> element. False otherwise.</dd>
- <dd><strong>Value:</strong> The string "<code title="">true</code>"
- if the expression given for the "State" above is true, the string
- "<code title="">false</code>" otherwise.</dd>
-
<dt><dfn title="command-createLink"><code>createLink</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
@@ -33795,37 +33702,28 @@
<dd><strong>State:</strong> Always false.</dd>
<dd><strong>Value:</strong> Always the string "<code title="">false</code>".</dd>
- <dt><dfn title="command-unlink"><code>unlink</code></dfn></dt>
-
- <dd><strong>Action:</strong> The user agent must remove all
- <code>a</code> elements that have <code
- title="attr-a-href">href</code> attributes and that are partially
- or completely included in the current selection.</dd>
- <dd><strong>Enabled When:</strong> The document has a selection
- that is entirely within an <span>editing host</span>.</dd>
+ <dt><dfn title="command-delete"><code>delete</code></dfn></dt>
+ <dd><strong>Action:</strong> The user agent must act as if the user
+ had performed <a href="#contenteditable-delete">a backspace
+ operation</a>.</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><dfn title="command-formatBlock"><code>formatBlock</code></dfn></dt>
-
<dd>
-
<p><strong>Action:</strong> The user agent must run the following
steps:</p>
-
<ol>
-
<li><p>If the <var title="">value</var> argument wasn't
specified, abort these steps without doing anything.</p></li>
-
<li><p>If the <var title="">value</var> argument has a leading
U+003C LESS-THAN SIGN character ('<') and a trailing U+003E
GREATER-THAN SIGN character ('>'), then remove the first and last
characters from <var title="">value</var>.</p></li>
-
<li>
-
<p>If <var title="">value</var> is (now) a case-insensitive<!--
XXX ASCII--> match for the tag name of an element defined by
this specification that is defined to be a <span>prose
@@ -33840,16 +33738,12 @@
content</span>, rename the element (as if the <code
title="">Element.renameNode()</code> method had been used) to
<var title="">value</var>, using the HTML namespace.</p>
-
<p>If there is no selection, then, where in the description
below refers to the selection, the user agent must act as if the
selection was an empty range (with just one position) at the
caret position.</p>
-
</li>
-
</ol>
-
</dd>
<dd><strong>Enabled When:</strong> The document is <span>ready for
editing host commands</span>.</dd>
@@ -33857,10 +33751,9 @@
<dd><strong>State:</strong> Always false.</dd>
<dd><strong>Value:</strong> Always the string "<code title="">false</code>".</dd>
- <dt><dfn title="command-delete"><code>delete</code></dfn></dt>
-
+ <dt><dfn title="command-forwardDelete"><code>forwardDelete</code></dfn></dt>
<dd><strong>Action:</strong> The user agent must act as if the user
- had performed <a href="#contenteditable-delete">a backspace
+ had performed <a href="#contenteditable-delete">a forward delete
operation</a>.</dd>
<dd><strong>Enabled When:</strong> The document is <span>ready for
editing host commands</span>.</dd>
@@ -33868,11 +33761,19 @@
<dd><strong>State:</strong> Always false.</dd>
<dd><strong>Value:</strong> Always the string "<code title="">false</code>".</dd>
- <dt><dfn title="command-forwardDelete"><code>forwardDelete</code></dfn></dt>
-
+ <dt><dfn title="command-insertImage"><code>insertImage</code></dfn></dt>
<dd><strong>Action:</strong> The user agent must act as if the user
- had performed <a href="#contenteditable-delete">a forward delete
- operation</a>.</dd>
+ 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="">showUI</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>
@@ -33880,7 +33781,6 @@
<dd><strong>Value:</strong> Always the string "<code title="">false</code>".</dd>
<dt><dfn title="command-insertLineBreak"><code>insertLineBreak</code></dfn></dt>
-
<dd><strong>Action:</strong> The user agent must act as if the user
had <a href="#contenteditable-br">requested a line
separator</a>.</dd>
@@ -33890,19 +33790,7 @@
<dd><strong>State:</strong> Always false.</dd>
<dd><strong>Value:</strong> Always the string "<code title="">false</code>".</dd>
- <dt><dfn title="command-insertParagraph"><code>insertParagraph</code></dfn></dt>
-
- <dd><strong>Action:</strong> The user agent must act as if the user
- had performed a <a href="#contenteditable-breakBlock">break
- block</a> editing action.</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><dfn title="command-insertOrderedList"><code>insertOrderedList</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
@@ -33916,7 +33804,6 @@
<dd><strong>Value:</strong> Always the string "<code title="">false</code>".</dd>
<dt><dfn title="command-insertOrderedList"><code>insertOrderedList</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
@@ -33929,8 +33816,17 @@
<dd><strong>State:</strong> Always false.</dd>
<dd><strong>Value:</strong> Always the string "<code title="">false</code>".</dd>
- <dt><dfn title="command-insertText"><code>insertText</code></dfn></dt>
+ <dt><dfn title="command-insertParagraph"><code>insertParagraph</code></dfn></dt>
+ <dd><strong>Action:</strong> The user agent must act as if the user
+ had performed a <a href="#contenteditable-breakBlock">break
+ block</a> editing action.</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><dfn title="command-insertText"><code>insertText</code></dfn></dt>
<dd><strong>Action:</strong> The user agent must act as if the user
had <a href="#contenteditable-insertText">inserted text</a>
corresponding to the <var title="">value</var> parameter.</dd>
@@ -33940,28 +33836,102 @@
<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>
+ <dt><dfn title="command-italic"><code>italic</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>i</code></em> element
+ (or, again, unwrapped, or have that semantic inserted or removed,
+ as defined by the UA).</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> True if the selection, or the caret, if
+ there is no selection, is, or is contained within, a
+ <code>i</code> element. False otherwise.</dd>
+ <dd><strong>Value:</strong> The string "<code title="">true</code>"
+ if the expression given for the "State" above is true, the string
+ "<code title="">false</code>" otherwise.</dd>
+ <dt><dfn title="command-redo"><code>redo</code></dfn></dt>
+ <dd><strong>Action:</strong> The user agent must <span
+ title="do-redo">move forward one step</span> in its <span>undo
+ transaction history</span>, restoring the associated state. If the
+ <span>undo position</span> is at the end of the <span>undo
+ transaction history</span>, the user agent must do nothing. See the
+ <span>undo history</span>.</dd>
+ <dd><strong>Enabled When:</strong> The <span>undo position</span>
+ is not at the end of the <span>undo transaction
+ history</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><dfn title="command-selectAll"><code>selectAll</code></dfn></dt>
+ <dd><strong>Action:</strong> The user agent must change the
+ selection so that all the content in the currently focused
+ <span>editing host</span> is selected. If no <span>editing
+ host</span> is focused, then the content of the entire document
+ must be selected.</dd>
+ <dd><strong>Enabled When:</strong> Always.</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><dfn title="command-subscript"><code>subscript</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
+ semantics</a> of the <em title=""><code>sub</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="">showUI</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>
+ as defined by the UA).</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> True if the selection, or the caret, if
+ there is no selection, is, or is contained within, a
+ <code>sub</code> element. False otherwise.</dd>
+ <dd><strong>Value:</strong> The string "<code title="">true</code>"
+ if the expression given for the "State" above is true, the string
+ "<code title="">false</code>" otherwise.</dd>
+
+ <dt><dfn title="command-superscript"><code>superscript</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 <code>sup</code> element (or unwrapped, or, if
+ there is no selection, have that semantic inserted or removed
+ — the exact behaviour is UA-defined).</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> True if the selection, or the caret, if
+ there is no selection, is, or is contained within, a
+ <code>sup</code> element. False otherwise.</dd>
+ <dd><strong>Value:</strong> The string "<code title="">true</code>"
+ if the expression given for the "State" above is true, the string
+ "<code title="">false</code>" otherwise.</dd>
+
+ <dt><dfn title="command-unlink"><code>unlink</code></dfn></dt>
+ <dd><strong>Action:</strong> The user agent must remove all
+ <code>a</code> elements that have <code
+ title="attr-a-href">href</code> attributes and that are partially
+ or completely included in the current selection.</dd>
+ <dd><strong>Enabled When:</strong> The document has a selection
+ that is entirely within an <span>editing host</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>
+ <dt><dfn title="command-unselect"><code>unselect</code></dfn></dt>
+ <dd><strong>Action:</strong> The user agent must change the
+ selection so that nothing is selected.</dd>
+ <dd><strong>Enabled When:</strong> Always.</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
vendor-specific extensions to this API. Vendor-specific extensions
to the list of commands should use the syntax <code><var
@@ -33974,7 +33944,6 @@
<dd><strong>Value:</strong> UA-defined.</dd>
<dt>Anything else</dt>
-
<dd><strong>Action:</strong> User agents must do nothing.</dd>
<dd><strong>Enabled When:</strong> Never.</dd>
<dd><strong>Indeterminate When:</strong> Never.</dd>
More information about the Commit-Watchers
mailing list