[html5] r1895 - [e] (0) Stop using <em> for things other than emphasis. Remove title='' from <em [...]
whatwg at whatwg.org
whatwg at whatwg.org
Mon Jul 21 18:12:59 PDT 2008
Author: ianh
Date: 2008-07-21 18:12:59 -0700 (Mon, 21 Jul 2008)
New Revision: 1895
Modified:
index
source
Log:
[e] (0) Stop using <em> for things other than emphasis. Remove title='' from <em> elements.
Modified: index
===================================================================
--- index 2008-07-22 01:00:16 UTC (rev 1894)
+++ index 2008-07-22 01:12:59 UTC (rev 1895)
@@ -2615,9 +2615,9 @@
stating that it does not apply to the other format, as in "for HTML, ...
(this does not apply to XHTML)".
- <p>This specification uses the term <em title="">document</em> to refer to
- any use of HTML, ranging from short static documents to long essays or
- reports with rich multimedia, as well as to fully-fledged interactive
+ <p>This specification uses the term <em>document</em> to refer to any use
+ of HTML, ranging from short static documents to long essays or reports
+ with rich multimedia, as well as to fully-fledged interactive
applications.
<p>The term <dfn id=root-element>root element</dfn>, when not explicitly
@@ -5833,9 +5833,9 @@
<p>Let <var title="">official type</var> be the type given by the <a
href="#content-type5" title=Content-Type>Content-Type metadata</a> for
the resource (in lowercase<!-- XXX ASCII case folding -->, ignoring any
- parameters). If there is no such type, jump to the <em
+ parameters). If there is no such type, jump to the <i
title="content-type sniffing: unknown type"><a
- href="#content-type7">unknown type</a></em> step below.
+ href="#content-type7">unknown type</a></i> step below.
<li>
<p>If the user agent is configured to strictly obey Content-Type headers
@@ -5882,8 +5882,8 @@
<td><code title="">text/plain; charset=UTF-8</code>
</table>
- <p>...then jump to the <em title="content-type sniffing: text or
- binary"><a href="#content-type6">text or binary</a></em> section below.</p>
+ <p>...then jump to the <i title="content-type sniffing: text or
+ binary"><a href="#content-type6">text or binary</a></i> section below.</p>
<!-- while IE sniffs all text/plain, this will continue to grow as
people add new defaults. Hopefully IE will stop the madness in due
course and stop sniffing anything but the above... -->
@@ -5891,8 +5891,8 @@
<li>
<p>If <var title="">official type</var> is "unknown/unknown" or
- "application/unknown", jump to the <em title="content-type sniffing:
- unknown type"><a href="#content-type7">unknown type</a></em> step below.</p>
+ "application/unknown", jump to the <i title="content-type sniffing:
+ unknown type"><a href="#content-type7">unknown type</a></i> step below.</p>
<!-- In a study looking at many billions of pages whose first five
characters were "<HTML", "unknown/unknown" was used to label
documents about once for every 5000 pages labeled "text/html", and
@@ -5911,13 +5911,13 @@
<li>
<p>If <var title="">official type</var> is an image type supported by the
user agent (e.g. "image/png", "image/gif", "image/jpeg", etc), then jump
- to the <em title="content-type sniffing: image"><a
- href="#content-type8">images</a></em> section below.
+ to the <i title="content-type sniffing: image"><a
+ href="#content-type8">images</a></i> section below.
<li>
<p>If <var title="">official type</var> is "text/html", then jump to the
- <em title="content-type sniffing: feed or html"><a
- href="#content-type9">feed or HTML</a></em> section below.
+ <i title="content-type sniffing: feed or html"><a
+ href="#content-type9">feed or HTML</a></i> section below.
<li>
<p>The sniffed type of the resource is <var title="">official type</var>.
@@ -16014,8 +16014,8 @@
document</a> has the <a href="#same-origin">same origin</a> as the
<code><a href="#iframe">iframe</a></code> element's document, or the <a
href="#browsing1">browsing context</a>'s <a href="#active">active
- document</a>'s <em title=""><span title="the document's
- address">address</span><!-- XXX xref --></em> has the <a
+ document</a>'s <em><a href="#address"><span title="the document's
+ address">address</span><!-- XXX xref --></a></em> has the <a
href="#same-origin">same origin</a> as the <code><a
href="#iframe">iframe</a></code> element's document, the following
requirements apply:
@@ -21159,8 +21159,9 @@
href="#globalcompositeoperation"
title=dom-context-2d-globalCompositeOperation>global composition
operators</a>. (Transformations affect the path when the path is created,
- not when it is painted, though the stroke <em title="">style</em> is still
- affected by the transformation during painting.)
+ not when it is painted, though the stroke <em><a
+ href="#style1">style</a></em> is still affected by the transformation
+ during painting.)
<p>Zero-length line segments must be pruned before stroking a path. Empty
subpaths must be ignored.
@@ -24564,8 +24565,8 @@
and, based on its state, apply the appropriate substep:</p>
<dl class=switch>
- <dt>If it is in the <em title=attr-th-scope-row><a
- href="#row">row</a></em> state
+ <dt>If it is in the <i title=attr-th-scope-row><a
+ href="#row">row</a></i> state
<dd>
<p>Add all the data cells that cover slots with coordinates (<var
@@ -24581,8 +24582,8 @@
title="">height</sub></var></span>, to the <var title="">data
cells</var> list.</p>
- <dt>If it is in the <em title=attr-th-scope-col><a
- href="#col0">column</a></em> state
+ <dt>If it is in the <i title=attr-th-scope-col><a
+ href="#col0">column</a></i> state
<dd>
<p>Add all the data cells that cover slots with coordinates (<var
@@ -24598,8 +24599,8 @@
title="">height</sub></var></span>, to the <var title="">data
cells</var> list.</p>
- <dt>If it is in the <em title=attr-th-scope-rowgroup><a
- href="#rowgroup">row group</a></em> state
+ <dt>If it is in the <i title=attr-th-scope-rowgroup><a
+ href="#rowgroup">row group</a></i> state
<dd>
<p>If the header cell is not in a <a href="#row-group"
@@ -24619,8 +24620,8 @@
title="">y</sub></var>+<var title="">height</var></span>, to the
<var title="">data cells</var> list.</p>
- <dt>If it is in the <em title=attr-th-scope-colgroup><a
- href="#colgroup0">column group</a></em> state
+ <dt>If it is in the <i title=attr-th-scope-colgroup><a
+ href="#colgroup0">column group</a></i> state
<dd>
<p>If the header cell is not anchored in a <a href="#column0"
@@ -24641,7 +24642,7 @@
title="">height</sub></var></span>, to the <var title="">data
cells</var> list.</p>
- <dt>Otherwise, it is in the <em title="">auto</em> state
+ <dt>Otherwise, it is in the <i title="">auto</i> state
<dd>
<p>Run these steps:</p>
@@ -40564,9 +40565,9 @@
<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="#b">b</a></code></em> element (or, again, unwrapped, or have that
- semantic inserted or removed, as defined by the UA).
+ wrapped in the semantics</a> of the <em><a
+ href="#b"><code>b</code></a></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>.
@@ -40586,10 +40587,10 @@
<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="#a">a</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="#a">a</a></code> element or modifies an
+ wrapped in the semantics</a> of the <em><a
+ href="#a"><code>a</code></a></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="#a">a</a></code> element or modifies an
existing <code><a href="#a">a</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
@@ -40692,15 +40693,15 @@
<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
- <a href="#url">URL</a> of the image. Otherwise, the user should be
- prompted for the URL of the image.
+ wrapped in the semantics</a> of the <em><a
+ href="#img"><code>img</code></a></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 <a href="#url">URL</a> of the image. Otherwise, the user
+ should be prompted for the URL of the image.
<dd><strong>Enabled When:</strong> The document is <a href="#ready">ready
for editing host commands</a>.
@@ -40841,9 +40842,9 @@
<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).
+ wrapped in the semantics</a> of the <em><a
+ href="#i"><code>i</code></a></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>.
@@ -40900,9 +40901,9 @@
<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).
+ wrapped in the semantics</a> of the <em><a
+ href="#sub"><code>sub</code></a></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>.
@@ -41672,9 +41673,9 @@
title=dom-WebSocket-readyState><a
href="#readystate1">readyState</a></code> is not <code
title=dom-WebSocket-OPEN><a href="#open3">OPEN</a></code>), it must raise
- an <code>INVALID_STATE_ERR</code> exception. If the connection <em
- title="">is</em> established, then the user agent must <a
- href="#send-">send <var title="">data</var> using the Web Socket</a>.
+ an <code>INVALID_STATE_ERR</code> exception. If the connection <em>is</em>
+ established, then the user agent must <a href="#send-">send <var
+ title="">data</var> using the Web Socket</a>.
<p>The <dfn id=disconnect
title=dom-WebSocket-disconnect><code>disconnect()</code></dfn> method must
@@ -41940,8 +41941,8 @@
initially empty.
<li id=ws-ua-header-loop>
- <p><em title="">Header</em>: Let <var title="">name</var> and <var
- title="">value</var> be empty byte arrays.
+ <p><em><a href="#header">Header</a></em>: Let <var title="">name</var>
+ and <var title="">value</var> be empty byte arrays.
<li>
<p>Read a byte from the server.</p>
@@ -42057,8 +42058,8 @@
<p>Return to the <a href="#ws-ua-header-loop">header</a> step above.</p>
<li id=ws-ua-headers-processing>
- <p><em title="">Headers processing</em>: If there is not exactly one
- entry in the <var title="">headers</var> list whose name is "<code
+ <p><em>Headers processing</em>: If there is not exactly one entry in the
+ <var title="">headers</var> list whose name is "<code
title="">websocket-origin</code>", or if there is not exactly one entry
in the <var title="">headers</var> list whose name is "<code
title="">websocket-location</code>", or if there are any entries in the
@@ -42183,7 +42184,7 @@
</ol>
<dt>If the high-order bit of the <var title="">frame type</var> byte is
- <em title="">not</em> set (i.e. if <var title="">frame type</var> <i
+ <em>not</em> set (i.e. if <var title="">frame type</var> <i
title="">and</i>ed with 0x80 returns 0x00)
<dd>
@@ -45231,14 +45232,13 @@
<p>The exact behavior of certain states depends on a <dfn
id=content3>content model flag</dfn> that is set after certain tokens are
- emitted. The flag has several states: <em title="">PCDATA</em>, <em
- title="">RCDATA</em>, <em title="">CDATA</em>, and <em
- title="">PLAINTEXT</em>. Initially it must be in the PCDATA state. In the
- RCDATA and CDATA states, a further <dfn id=escape>escape flag</dfn> is
- used to control the behavior of the tokeniser. It is either true or false,
- and initially must be set to the false state. The <span>insertion
- mode</span> and the <a href="#stack">stack of open elements</a> also
- affects tokenization.
+ emitted. The flag has several states: <i title="">PCDATA</i>, <i
+ title="">RCDATA</i>, <i title="">CDATA</i>, and <i title="">PLAINTEXT</i>.
+ Initially it must be in the PCDATA state. In the RCDATA and CDATA states,
+ a further <dfn id=escape>escape flag</dfn> is used to control the behavior
+ of the tokeniser. It is either true or false, and initially must be set to
+ the false state. The <span>insertion mode</span> and the <a
+ href="#stack">stack of open elements</a> also affects tokenization.
<p>The output of the tokenization step is a series of zero or more of the
following tokens: DOCTYPE, start tag, end tag, comment, character,
@@ -47411,14 +47411,14 @@
href="#table">table</a></code> element and it has such a parent element.
If there is no <code><a href="#table">table</a></code> element in the <a
href="#stack">stack of open elements</a> (<a href="#fragment">fragment
- case</a>), then the <em><a href="#foster1">foster parent element</a></em>
- is the first element in the <a href="#stack">stack of open elements</a>
- (the <code><a href="#html">html</a></code> element). Otherwise, if there
- is a <code><a href="#table">table</a></code> element in the <a
+ case</a>), then the <i><a href="#foster1">foster parent element</a></i> is
+ the first element in the <a href="#stack">stack of open elements</a> (the
+ <code><a href="#html">html</a></code> element). Otherwise, if there is a
+ <code><a href="#table">table</a></code> element in the <a
href="#stack">stack of open elements</a>, but the last <code><a
href="#table">table</a></code> element in the <a href="#stack">stack of
open elements</a> has no parent, or its parent node is not an element,
- then the <em><a href="#foster1">foster parent element</a></em> is the
+ then the <i><a href="#foster1">foster parent element</a></i> is the
element before the last <code><a href="#table">table</a></code> element in
the <a href="#stack">stack of open elements</a>.
@@ -51052,33 +51052,29 @@
<dt>If it is a <code><a href="#title1">title</a></code> or
<code>textarea</code> element
- <dd>Set the <a href="#content3">content model flag</a> to
- <em>RCDATA</em>.
+ <dd>Set the <a href="#content3">content model flag</a> to <i>RCDATA</i>.
<dt>If it is a <code><a href="#style1">style</a></code>, <code><a
href="#script1">script</a></code>, <code>xmp</code>, <code><a
href="#iframe">iframe</a></code>, <code>noembed</code>, or
<code>noframes</code> element
- <dd>Set the <a href="#content3">content model flag</a> to
- <em>CDATA</em>.
+ <dd>Set the <a href="#content3">content model flag</a> to <i>CDATA</i>.
<dt>If it is a <code><a href="#noscript">noscript</a></code> element
<dd>If the <a href="#scripting2">scripting flag</a> is enabled, set the
- <a href="#content3">content model flag</a> to <em>CDATA</em>.
- Otherwise, set the <a href="#content3">content model flag</a> to
- <em>PCDATA</em>.
+ <a href="#content3">content model flag</a> to <i>CDATA</i>. Otherwise,
+ set the <a href="#content3">content model flag</a> to <i>PCDATA</i>.
<dt>If it is a <code>plaintext</code> element
<dd>Set the <a href="#content3">content model flag</a> to
- <em>PLAINTEXT</em>.
+ <i>PLAINTEXT</i>.
<dt>Otherwise
- <dd>Set the <a href="#content3">content model flag</a> to
- <em>PCDATA</em>.
+ <dd>Set the <a href="#content3">content model flag</a> to <i>PCDATA</i>.
</dl>
<li>
Modified: source
===================================================================
--- source 2008-07-22 01:00:16 UTC (rev 1894)
+++ source 2008-07-22 01:12:59 UTC (rev 1895)
@@ -825,7 +825,7 @@
out by explicitly stating that it does not apply to the other
format, as in "for HTML, ... (this does not apply to XHTML)".</p>
- <p>This specification uses the term <em title="">document</em> to
+ <p>This specification uses the term <em>document</em> to
refer to any use of HTML, ranging from short static documents to
long essays or reports with rich multimedia, as well as to
fully-fledged interactive applications.</p>
@@ -4107,8 +4107,8 @@
<li><p>Let <var title="">official type</var> be the type given by
the <span title="Content-Type">Content-Type metadata</span> for the
resource (in lowercase<!-- XXX ASCII case folding -->, ignoring any
- parameters). If there is no such type, jump to the <em
- title="content-type sniffing: unknown type">unknown type</em> step
+ parameters). If there is no such type, jump to the <i
+ title="content-type sniffing: unknown type">unknown type</i> step
below.</p></li>
<li><p>If the user agent is configured to strictly obey
@@ -4139,8 +4139,8 @@
<td><code title="">text/plain; charset=UTF-8</code>
</table>
- <p>...then jump to the <em title="content-type sniffing: text or
- binary">text or binary</em> section below.</p>
+ <p>...then jump to the <i title="content-type sniffing: text or
+ binary">text or binary</i> section below.</p>
<!-- while IE sniffs all text/plain, this will continue to grow as
people add new defaults. Hopefully IE will stop the madness in due
@@ -4149,8 +4149,8 @@
</li>
<li><p>If <var title="">official type</var> is "unknown/unknown" or
- "application/unknown", jump to the <em title="content-type
- sniffing: unknown type">unknown type</em> step below.</p>
+ "application/unknown", jump to the <i title="content-type
+ sniffing: unknown type">unknown type</i> step below.</p>
<!-- In a study looking at many billions of pages whose first five
characters were "<HTML", "unknown/unknown" was used to label
documents about once for every 5000 pages labeled "text/html", and
@@ -4165,12 +4165,12 @@
<li><p>If <var title="">official type</var> is an image type
supported by the user agent (e.g. "image/png", "image/gif",
- "image/jpeg", etc), then jump to the <em title="content-type
- sniffing: image">images</em> section below.</p></li>
+ "image/jpeg", etc), then jump to the <i title="content-type
+ sniffing: image">images</i> section below.</p></li>
<li><p>If <var title="">official type</var> is "text/html", then
- jump to the <em title="content-type sniffing: feed or html">feed or
- HTML</em> section below.</p></li>
+ jump to the <i title="content-type sniffing: feed or html">feed or
+ HTML</i> section below.</p></li>
<li><p>The sniffed type of the resource is <var title="">official
type</var>.</p></li>
@@ -13800,10 +13800,10 @@
while the <span>browsing context</span>'s <span>active
document</span> has the <span>same origin</span> as the
<code>iframe</code> element's document, or the <span>browsing
- context</span>'s <span>active document</span>'s <em title=""><span
- title="the document's address">address</span><!-- XXX xref --></em>
- has the <span>same origin</span> as the <code>iframe</code>
- element's document, the following requirements apply:</p>
+ context</span>'s <span>active document</span>'s <em><span title="the
+ document's address">address</span><!-- XXX xref --></em> has the
+ <span>same origin</span> as the <code>iframe</code> element's
+ document, the following requirements apply:</p>
<ul>
@@ -18623,9 +18623,8 @@
title="clipping region">clipping region</span>, and <span
title="dom-context-2d-globalCompositeOperation">global composition
operators</span>. (Transformations affect the path when the path is
- created, not when it is painted, though the stroke <em
- title="">style</em> is still affected by the transformation during
- painting.)</p>
+ created, not when it is painted, though the stroke <em>style</em> is
+ still affected by the transformation during painting.)</p>
<p>Zero-length line segments must be pruned before stroking a
path. Empty subpaths must be ignored.</p>
@@ -22070,7 +22069,7 @@
<dl class="switch">
- <dt>If it is in the <em title="attr-th-scope-row">row</em> state</dt>
+ <dt>If it is in the <i title="attr-th-scope-row">row</i> state</dt>
<dd>
@@ -22091,7 +22090,7 @@
</dd>
- <dt>If it is in the <em title="attr-th-scope-col">column</em> state</dt>
+ <dt>If it is in the <i title="attr-th-scope-col">column</i> state</dt>
<dd>
@@ -22111,7 +22110,7 @@
</dd>
- <dt>If it is in the <em title="attr-th-scope-rowgroup">row group</em> state</dt>
+ <dt>If it is in the <i title="attr-th-scope-rowgroup">row group</i> state</dt>
<dd>
@@ -22137,7 +22136,7 @@
</dd>
- <dt>If it is in the <em title="attr-th-scope-colgroup">column group</em> state</dt>
+ <dt>If it is in the <i title="attr-th-scope-colgroup">column group</i> state</dt>
<dd>
@@ -22163,7 +22162,7 @@
</dd>
- <dt>Otherwise, it is in the <em title="">auto</em> state</dt>
+ <dt>Otherwise, it is in the <i title="">auto</i> state</dt>
<dd>
@@ -38176,9 +38175,9 @@
<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>b</code></em> element
- (or, again, unwrapped, or have that semantic inserted or removed,
- as defined by the UA).</dd>
+ semantics</a> of the <em><code>b</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>
@@ -38193,14 +38192,14 @@
<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</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</code>
- element or modifies an existing <code>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 <span>URL</span> of the link. Otherwise, the
- user should be prompted for the URL of the link.</dd>
+ semantics</a> of the <em><code>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</code> element or
+ modifies an existing <code>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 <span>URL</span> of the link. Otherwise, the user
+ should be prompted for the URL of the link.</dd>
<dd><strong>Enabled When:</strong> The document is <span>ready for
editing host commands</span>.</dd>
<dd><strong>Indeterminate When:</strong> Never.</dd>
@@ -38270,15 +38269,14 @@
<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="">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 <span>URL</span>
- of the image. Otherwise, the user should be prompted for the URL of
- the image.</dd>
+ semantics</a> of the <em><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 <span>URL</span> of the image. Otherwise, the user
+ should be prompted for the URL 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>
@@ -38369,9 +38367,9 @@
<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>
+ semantics</a> of the <em><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>
@@ -38411,9 +38409,9 @@
<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>
+ semantics</a> of the <em><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>
@@ -39179,9 +39177,9 @@
connection. If the connection is not established (<code
title="dom-WebSocket-readyState">readyState</code> is not <code
title="dom-WebSocket-OPEN">OPEN</code>), it must raise an
- <code>INVALID_STATE_ERR</code> exception. If the connection <em
- title="">is</em> established, then the user agent must <span>send
- <var title="">data</var> using the Web Socket</span>.</p>
+ <code>INVALID_STATE_ERR</code> exception. If the connection
+ <em>is</em> established, then the user agent must <span>send <var
+ title="">data</var> using the Web Socket</span>.</p>
<p>The <dfn
title="dom-WebSocket-disconnect"><code>disconnect()</code></dfn>
@@ -39464,7 +39462,7 @@
<li><p>Let <var title="">headers</var> be a list of name-value
pairs, initially empty.</p></li>
- <li id="ws-ua-header-loop"><p><em title="">Header</em>: Let <var
+ <li id="ws-ua-header-loop"><p><em>Header</em>: Let <var
title="">name</var> and <var title="">value</var> be empty byte
arrays.</p></li>
@@ -39618,14 +39616,14 @@
<li id="ws-ua-headers-processing">
- <p><em title="">Headers processing</em>: If there is not exactly
- one entry in the <var title="">headers</var> list whose name is
- "<code title="">websocket-origin</code>", or if there is not
- exactly one entry in the <var title="">headers</var> list whose
- name is "<code title="">websocket-location</code>", or if there
- are any entries in the <var title="">headers</var> list whose
- names are the empty string, then <span>fail the Web Socket
- connection</span> and abort these steps.</p>
+ <p><em>Headers processing</em>: If there is not exactly one entry
+ in the <var title="">headers</var> list whose name is "<code
+ title="">websocket-origin</code>", or if there is not exactly one
+ entry in the <var title="">headers</var> list whose name is "<code
+ title="">websocket-location</code>", or if there are any entries
+ in the <var title="">headers</var> list whose names are the empty
+ string, then <span>fail the Web Socket connection</span> and abort
+ these steps.</p>
</li>
@@ -39774,8 +39772,8 @@
</dd>
<dt>If the high-order bit of the <var title="">frame type</var>
- byte is <em title="">not</em> set (i.e. if <var title="">frame
- type</var> <i title="">and</i>ed with 0x80 returns 0x00)</dt>
+ byte is <em>not</em> set (i.e. if <var title="">frame type</var>
+ <i title="">and</i>ed with 0x80 returns 0x00)</dt>
<dd>
@@ -42824,9 +42822,9 @@
<p>The exact behavior of certain states depends on a <dfn>content
model flag</dfn> that is set after certain tokens are emitted. The
- flag has several states: <em title="">PCDATA</em>, <em
- title="">RCDATA</em>, <em title="">CDATA</em>, and <em
- title="">PLAINTEXT</em>. Initially it must be in the PCDATA
+ flag has several states: <i title="">PCDATA</i>, <i
+ title="">RCDATA</i>, <i title="">CDATA</i>, and <i
+ title="">PLAINTEXT</i>. Initially it must be in the PCDATA
state. In the RCDATA and CDATA states, a further <dfn>escape
flag</dfn> is used to control the behavior of the tokeniser. It is
either true or false, and initially must be set to the false
@@ -44684,13 +44682,13 @@
elements</span>, if there is a <code>table</code> element and it has
such a parent element. If there is no <code>table</code> element in
the <span>stack of open elements</span> (<span>fragment
- case</span>), then the <em>foster parent element</em> is the first
+ case</span>), then the <i>foster parent element</i> is the first
element in the <span>stack of open elements</span> (the
<code>html</code> element). Otherwise, if there is a
<code>table</code> element in the <span>stack of open
elements</span>, but the last <code>table</code> element in the
<span>stack of open elements</span> has no parent, or its parent
- node is not an element, then the <em>foster parent element</em> is
+ node is not an element, then the <i>foster parent element</i> is
the element before the last <code>table</code> element in the
<span>stack of open elements</span>.</p>
@@ -48379,7 +48377,7 @@
element</dt>
<dd>Set the <span>content model flag</span> to
- <em>RCDATA</em>.</dd>
+ <i>RCDATA</i>.</dd>
<dt>If it is a <code>style</code>, <code>script</code>,
@@ -48387,25 +48385,25 @@
<code>noframes</code> element</dt>
<dd>Set the <span>content model flag</span> to
- <em>CDATA</em>.</dd>
+ <i>CDATA</i>.</dd>
<dt>If it is a <code>noscript</code> element</dt>
<dd>If the <span>scripting flag</span> is enabled, set the
- <span>content model flag</span> to <em>CDATA</em>. Otherwise, set
- the <span>content model flag</span> to <em>PCDATA</em>.</dd>
+ <span>content model flag</span> to <i>CDATA</i>. Otherwise, set
+ the <span>content model flag</span> to <i>PCDATA</i>.</dd>
<dt>If it is a <code>plaintext</code> element</dt>
<dd>Set the <span>content model flag</span> to
- <em>PLAINTEXT</em>.</dd>
+ <i>PLAINTEXT</i>.</dd>
<dt>Otherwise</dt>
- <dd>Set the <span>content model flag</span> to <em>PCDATA</em>.</dd>
+ <dd>Set the <span>content model flag</span> to <i>PCDATA</i>.</dd>
</dl>
More information about the Commit-Watchers
mailing list