- From: poot <cvsmail@w3.org>
- Date: Tue, 22 Jul 2008 10:35:52 +0900 (JST)
- To: public-html-diffs@w3.org
Stop using <em> for things other than emphasis. Remove title='' from <em> elements. (whatwg r1895) (changed by: Ian Hickson) Diffs for this change per section: send(data) http://people.w3.org/mike/diffs/html5/spec/Overview.1.1084.html#senddata XML-compatible http://people.w3.org/mike/diffs/html5/spec/Overview.1.1084.html#xml-compatible stroke() http://people.w3.org/mike/diffs/html5/spec/Overview.1.1084.html#stroke Resolve the URL url. http://people.w3.org/mike/diffs/html5/spec/Overview.1.1084.html#ws-ua-1 Tokenization http://people.w3.org/mike/diffs/html5/spec/Overview.1.1084.html#tokenization0 escape flag http://people.w3.org/mike/diffs/html5/spec/Overview.1.1084.html#escape Length: Read a byte, let b be that byte. http://people.w3.org/mike/diffs/html5/spec/Overview.1.1084.html#ws-cd-length insertImage http://people.w3.org/mike/diffs/html5/spec/Overview.1.1084.html#insertimage disconnect() http://people.w3.org/mike/diffs/html5/spec/Overview.1.1084.html#disconnect seamless http://people.w3.org/mike/diffs/html5/spec/Overview.1.1084.html#seamless algorithm for assigning header cells to data cells http://people.w3.org/mike/diffs/html5/spec/Overview.1.1084.html#algorithm4 italic http://people.w3.org/mike/diffs/html5/spec/Overview.1.1084.html#italic subscript http://people.w3.org/mike/diffs/html5/spec/Overview.1.1084.html#subscript bold http://people.w3.org/mike/diffs/html5/spec/Overview.1.1084.html#bold createLink http://people.w3.org/mike/diffs/html5/spec/Overview.1.1084.html#createlink fragment case http://people.w3.org/mike/diffs/html5/spec/Overview.1.1084.html#fragment Headers processing: If there is not exactly one entry in the headers list whose name is "websocket-origin", or if there is not exactly one entry in the headers list whose name is "websocket-location", or if there are any entries in the headers list whose names are the empty string, then fail the Web Socket connection and abort these steps. http://people.w3.org/mike/diffs/html5/spec/Overview.1.1084.html#ws-ua-headers-processing Header: Let name and value be empty byte arrays. http://people.w3.org/mike/diffs/html5/spec/Overview.1.1084.html#ws-ua-header-loop root element http://people.w3.org/mike/diffs/html5/spec/Overview.1.1084.html#root-element content model flag http://people.w3.org/mike/diffs/html5/spec/Overview.1.1084.html#content3 foster parent element http://people.w3.org/mike/diffs/html5/spec/Overview.1.1084.html#foster1 sniffed type of a resource http://people.w3.org/mike/diffs/html5/spec/Overview.1.1084.html#sniffed Current content per affected section: http://dev.w3.org/html5/spec/Overview.html#senddata http://dev.w3.org/html5/spec/Overview.html#xml-compatible http://dev.w3.org/html5/spec/Overview.html#stroke http://dev.w3.org/html5/spec/Overview.html#ws-ua-1 http://dev.w3.org/html5/spec/Overview.html#tokenization0 http://dev.w3.org/html5/spec/Overview.html#escape http://dev.w3.org/html5/spec/Overview.html#ws-cd-length http://dev.w3.org/html5/spec/Overview.html#insertimage http://dev.w3.org/html5/spec/Overview.html#disconnect http://dev.w3.org/html5/spec/Overview.html#seamless http://dev.w3.org/html5/spec/Overview.html#algorithm4 http://dev.w3.org/html5/spec/Overview.html#italic http://dev.w3.org/html5/spec/Overview.html#subscript http://dev.w3.org/html5/spec/Overview.html#bold http://dev.w3.org/html5/spec/Overview.html#createlink http://dev.w3.org/html5/spec/Overview.html#fragment http://dev.w3.org/html5/spec/Overview.html#ws-ua-headers-processing http://dev.w3.org/html5/spec/Overview.html#ws-ua-header-loop http://dev.w3.org/html5/spec/Overview.html#root-element http://dev.w3.org/html5/spec/Overview.html#content3 http://dev.w3.org/html5/spec/Overview.html#foster1 http://dev.w3.org/html5/spec/Overview.html#sniffed Previously published WD content per affected section: http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#senddata http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#xml-compatible http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#stroke http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#ws-ua-1 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#tokenization0 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#escape http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#ws-cd-length http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#insertimage http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#disconnect http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#seamless http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#algorithm4 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#italic http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#subscript http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#bold http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#createlink http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#fragment http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#ws-ua-headers-processing http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#ws-ua-header-loop http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#root-element http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#content3 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#foster1 http://www.w3.org/TR/2008/WD-html5-20080610/single-page/#sniffed Cumulative diff: http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1083&r2=1.1084&f=h http://html5.org/tools/web-apps-tracker?from=1894&to=1895 =================================================================== 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:36:32 UTC