- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 22 Jul 2008 01:13:35 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv28871
Modified Files:
Overview.html
Log Message:
Stop using <em> for things other than emphasis. Remove title='' from <em> elements. (whatwg r1895)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1083
retrieving revision 1.1084
diff -u -d -r1.1083 -r1.1084
--- Overview.html 22 Jul 2008 01:00:50 -0000 1.1083
+++ Overview.html 22 Jul 2008 01:13:32 -0000 1.1084
@@ -2686,9 +2686,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
@@ -5904,9 +5904,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
@@ -5953,8 +5953,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... -->
@@ -5962,8 +5962,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
@@ -5982,13 +5982,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>.
@@ -16085,8 +16085,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:
@@ -21230,8 +21230,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.
@@ -24635,8 +24636,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
@@ -24652,8 +24653,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
@@ -24669,8 +24670,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"
@@ -24690,8 +24691,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"
@@ -24712,7 +24713,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>
@@ -40635,9 +40636,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>.
@@ -40657,10 +40658,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
@@ -40763,15 +40764,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>.
@@ -40912,9 +40913,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>.
@@ -40971,9 +40972,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>.
@@ -41743,9 +41744,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
@@ -42011,8 +42012,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>
@@ -42128,8 +42129,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
@@ -42254,7 +42255,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>
@@ -45302,14 +45303,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,
@@ -47482,14 +47482,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>.
@@ -51123,33 +51123,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>
Received on Tuesday, 22 July 2008 01:32:37 UTC