- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 26 Aug 2010 10:01:21 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec-author-view In directory hutz:/tmp/cvs-serv17018 Modified Files: spec.html spec.preprocessed.html Log Message: Make ' red' parse as 'red' for legacy colours. (whatwg r5359) [updated by splitter] Index: spec.html =================================================================== RCS file: /sources/public/html5/spec-author-view/spec.html,v retrieving revision 1.1110 retrieving revision 1.1111 diff -u -d -r1.1110 -r1.1111 --- spec.html 25 Aug 2010 00:23:26 -0000 1.1110 +++ spec.html 26 Aug 2010 10:01:16 -0000 1.1111 @@ -1,55899 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> -<!-- when publishing, change bits marked ZZZ --><html lang="en-US-x-Hixie"><head><meta content="text/html; charset=ascii" http-equiv="Content-Type"><title>HTML5 (Edition for Web Authors)</title><link href="whatwg.css" rel="stylesheet"><style type="text/css"> - pre { margin-left: 2em; white-space: pre-wrap; } - h2 { margin: 3em 0 1em 0; } - h3 { margin: 2.5em 0 1em 0; } - h4 { margin: 2.5em 0 0.75em 0; } - h5, h6 { margin: 2.5em 0 1em; } - h1 + h2, h1 + h2 + h2 { margin: 0.75em 0 0.75em; } - h2 + h3, h3 + h4, h4 + h5, h5 + h6 { margin-top: 0.5em; } - p { margin: 1em 0; } - hr:not(.top) { display: block; background: none; border: none; padding: 0; margin: 2em 0; height: auto; } [...55868 lines suppressed...] - ("<code title="">foo</code>" vs <code>foo</code>) - v2 * make the spec consistent about whether the word "algorithm" is part of - an algorithm's name or not ("</dfn> algorithm", "</span> algorithm") - v2 * make the spec more consistent about its use of "hexadecimal" - and "base-sixteen", the order that 0-9 A-Z a-z is mentioned, - and the detail to which the spec explains how to interpret a - string as a hexadecimal number. - v2 * become more consistent about what markup we use to mark up - productions (nothing? <i>? <code>?) - v2 * use <code>Document</code> consistently instead of 'document'. - v2 * s/raise/throw/g - v2 * be clearer about arrays/lists/collections being zero-based - despite using the term "/index/th". - v2 * use the sample widgets: - <li><img alt="A text field with editable sections for each - value, with a button to pop up a dialog showing a calendar or - clock." src="sample-datetime-ui-2"></li> - <li><img alt="A calendar grid with a clock in the upper right - hand corner." src="sample-datetime-ui-3"></li> ---></body></html> Index: spec.preprocessed.html =================================================================== RCS file: /sources/public/html5/spec-author-view/spec.preprocessed.html,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- spec.preprocessed.html 25 Aug 2010 00:23:27 -0000 1.24 +++ spec.preprocessed.html 26 Aug 2010 10:01:19 -0000 1.25 @@ -312,9 +312,9 @@ </head><body onload="init()"><div class="head" id="head"> <p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p> - <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4263</span></h1> + <h1>HTML5 (Edition for Web Authors)<span class="rcsrevision"> revision 1.4276</span></h1> <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2> - <h2 class="no-num no-toc" id="editor-s-draft-25-august-2010">Editor's Draft 25 August 2010</h2> + <h2 class="no-num no-toc" id="editor-s-draft-26-august-2010">Editor's Draft 26 August 2010</h2> <dl><dt>Latest Published Version:</dt> <dd><a href="http://www.w3.org/TR/html5/author/">http://www.w3.org/TR/html5/author/</a></dd> <dt>Latest Editor's Draft:</dt> @@ -332,7 +332,7 @@ <dt>Editors:</dt> <dd><a href="mailto:ian@hixie.ch">Ian Hickson</a>, Google, Inc.</dd> </dl><p>This specification is available in the following formats: <a href="spec.html">single page HTML</a>, <a href="Overview.html">multipage HTML</a>, <a href="http://dev.w3.org/html5/spec/">full specification</a>. - This is revision 1.4263.</p> + This is revision 1.4276.</p> <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2010 <a href="http://www.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> (<a href="http://www.csail.mit.edu/"><abbr title="Massachusetts @@ -426,7 +426,7 @@ Group</a> is the W3C working group responsible for this specification's progress along the W3C Recommendation track. - This specification is the 25 August 2010 Editor's Draft. + This specification is the 26 August 2010 Editor's Draft. </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- required patent boilerplate --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 @@ -2966,7 +2966,7 @@ be omitted altogether.</p><div class="example"> <p>Here is an example of a checkbox that is checked and disabled. - The <code title="attr-input-checked"><a href="#attr-input-checked">checked</a></code> and <code title="attr-input-readonly"><a href="#attr-input-readonly">readonly</a></code> attributes are the + The <code title="attr-input-checked"><a href="#attr-input-checked">checked</a></code> and <code title="attr-input-disabled">disabled</code> attributes are the boolean attributes.</p> <pre><label><input type=checkbox checked name=cheese disabled> Cheese</label></pre> @@ -4543,17 +4543,24 @@ <li><p>If <var title="">input</var> is the empty string, then return an error.</p></li> - <li><p>If <var title="">input</var> is an <a href="#ascii-case-insensitive">ASCII + <li><p>Let <var title="">keyword</var> be a string with the same + value as <var title="">input</var>.</p></li> + + <li><p><a href="#strip-leading-and-trailing-whitespace">Strip leading and trailing whitespace</a> from <var title="">keyword</var>.</p></li> + + <li><p>If <var title="">keyword</var> is an <a href="#ascii-case-insensitive">ASCII case-insensitive</a> match for the string "<code title="">transparent</code>", then return an error.</p></li> - <li><p>If <var title="">input</var> is an <a href="#ascii-case-insensitive">ASCII - case-insensitive</a> match for one of the keywords listed in the - <a href="http://www.w3.org/TR/css3-color/#svg-color">SVG color - keywords</a> <!-- or <a - href="http://www.w3.org/TR/css3-color/#css2-system">CSS2 System - Colors</a> --> section<!--s--> of the CSS3 Color specification, - then return the <a href="#simple-color">simple color</a> corresponding to that - keyword. <a href="#refsCSSCOLOR">[CSSCOLOR]</a></p> + <li> + + <p>If <var title="">keyword</var> is an <a href="#ascii-case-insensitive">ASCII + case-insensitive</a> match for one of the keywords listed in + the <a href="http://www.w3.org/TR/css3-color/#svg-color">SVG color + keywords</a> <!-- or <a + href="http://www.w3.org/TR/css3-color/#css2-system">CSS2 System + Colors</a> --> section<!--s--> of the CSS3 Color specification, + then return the <a href="#simple-color">simple color</a> corresponding to that + keyword. <a href="#refsCSSCOLOR">[CSSCOLOR]</a></p> <p class="note"><a href="http://www.w3.org/TR/css3-color/#css2-system">CSS2 System Colors</a> are not recognised.</p> @@ -5818,7 +5825,7 @@ <p>Returns null if <var title="">index</var> is out of range.</p> </dd> - <dt><var title="">element</var> = <var title="">collection</var> . <code title="dom-HTMLCollection-item"><a href="#dom-htmlcollection-item">namedItem</a></code>(<var title="">name</var>)</dt> + <dt><var title="">element</var> = <var title="">collection</var> . <code title="dom-HTMLCollection-namedItem"><a href="#dom-htmlcollection-nameditem">namedItem</a></code>(<var title="">name</var>)</dt> <dt><var title="">collection</var>[<var title="">name</var>]</dt> <dt><var title="">collection</var>(<var title="">name</var>)</dt> <dd> @@ -11590,8 +11597,8 @@ attribute gives the styling language. If the attribute is present, its value must be a <a href="#valid-mime-type">valid MIME type</a> that designates a styling language. The <code title="">charset</code> parameter must - not be specified. The default, which is used if the attribute is - absent, is "<code title="">text/css</code>". <a href="#refsRFC2318">[RFC2318]</a></p><div class="impl"> + not be specified. The default value for the <code title="attr-style-type"><a href="#attr-style-type">type</a></code> attribute, which is used if the + attribute is absent, is "<code title="">text/css</code>". <a href="#refsRFC2318">[RFC2318]</a></p><div class="impl"> <!-- this paragraph is also present in the <script type="text/javascript"> section --> <p>When examining types to determine if they support the language, @@ -14187,7 +14194,11 @@ <pre class="idl">interface <dfn id="htmlparagraphelement">HTMLParagraphElement</dfn> : <a href="#htmlelement">HTMLElement</a> {};</pre> </dd> </dl><p>The <code><a href="#the-p-element">p</a></code> element <a href="#represents">represents</a> a - <a href="#paragraph">paragraph</a>.</p><div class="example"> + <a href="#paragraph">paragraph</a>.</p><p class="note">While paragraphs are usually represented in visual + media by blocks of text that are physically separated from adjacent + blocks through blank lines, a style sheet or user agent would be + equally justified in presenting paragraph breaks in a different + manner, for instance using inline pilcrows (¶).</p><div class="example"> <p>The following examples are conforming HTML fragments:</p> <pre><p>The little kitten gently seated himself on a piece of carpet. Later in his life, this would be referred to as the time the @@ -16647,7 +16658,11 @@ <pre class="idl">interface <dfn id="htmlbrelement">HTMLBRElement</dfn> : <a href="#htmlelement">HTMLElement</a> {};</pre> </dd> </dl><p>The <code><a href="#the-br-element">br</a></code> element <a href="#represents">represents</a> a line - break.</p><p><code><a href="#the-br-element">br</a></code> elements must be used only for line breaks that + break.</p><p class="note">While line breaks are usually represented in visual + media by physically moving subsequent text to a new line, a style + sheet or user agent would be equally justified in causing line + breaks to be rendered in a different manner, for instance as green + dots, or as extra spacing.</p><p><code><a href="#the-br-element">br</a></code> elements must be used only for line breaks that are actually part of the content, as in poems or addresses.</p><div class="example"> <p>The following example is correct usage of the <code><a href="#the-br-element">br</a></code> @@ -39773,9 +39788,11 @@ <code><a href="#the-link-element">link</a></code> element, with a non-empty value.</p><p>The default type for resources given by the <code title="rel-stylesheet"><a href="#link-type-stylesheet">stylesheet</a></code> keyword is <code title="">text/css</code>.</p><div class="impl"> <p><strong>Quirk</strong>: If the document has been set to - <a href="#quirks-mode">quirks mode</a> and the <a href="#content-type" title="Content-Type">Content-Type metadata</a> of the external - resource is not a supported style sheet type, the user agent must - instead assume it to be <code title="">text/css</code>.</p> + <a href="#quirks-mode">quirks mode</a>, has the <a href="#same-origin">same origin</a> as the + <a href="#url">URL</a> of the external resource<!-- CVE-2010-0654 -->, and + the <a href="#content-type" title="Content-Type">Content-Type metadata</a> of the + external resource is not a supported style sheet type, the user + agent must instead assume it to be <code title="">text/css</code>.</p> </div><h5 id="link-type-sidebar"><span class="secno">4.12.4.15 </span>Link type "<dfn title="rel-sidebar"><code>sidebar</code></dfn>"</h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p><p>The <code title="rel-sidebar"><a href="#link-type-sidebar">sidebar</a></code> keyword may be used with <code><a href="#the-link-element">link</a></code>, <code><a href="#the-a-element">a</a></code>, and <code><a href="#the-area-element">area</a></code> @@ -42691,14 +42708,14 @@ <title>Line Game - 5</title> <p>You are at coordinate <span id="coord">5</span> on the line.</p> <p> - <a href="?x=6" onclick="go(1)">Advance to 6</a> or - <a href="?x=4" onclick="go(-1)">retreat to 4</a>? + <a href="?x=6" onclick="go(1); return false;">Advance to 6</a> or + <a href="?x=4" onclick="go(-1); return false;">retreat to 4</a>? </p> <script> var currentPage = 5; // prefilled by server function go(d) { - history.pushState(currentPage, 'Line Game - ' + currentPage, '?x=' + currentPage); setupPage(currentPage + d); + history.pushState(currentPage, document.title, '?x=' + currentPage); } onpopstate = function(event) { setupPage(event.state); @@ -44500,10 +44517,17 @@ namespace URL has the <a href="#same-origin">same origin</a> as <a href="#concept-appcache-manifest" title="concept-appcache-manifest">the manifest</a>.</li> <li>Zero or more URLs that form the <dfn id="concept-appcache-onlinewhitelist" title="concept-appcache-onlinewhitelist">online whitelist - namespaces</dfn>. + namespaces</dfn>: URLs, used as prefix match patterns, that the + user agent will never load from the cache but will instead always + attempt to obtain from the network.</li> - </li><li>An <dfn id="concept-appcache-onlinewhitelist-wildcard" title="concept-appcache-onlinewhitelist-wildcard">online whitelist - wildcard flag</dfn>, which is either <i title="">open</i> or <i title="">blocking</i>.</li> + <li>An <dfn id="concept-appcache-onlinewhitelist-wildcard" title="concept-appcache-onlinewhitelist-wildcard">online whitelist + wildcard flag</dfn>, which is either <i title="">open</i> + (indicating that any URL not listed as cached is to be implicitly + treated as being in the <a href="#concept-appcache-onlinewhitelist" title="concept-appcache-onlinewhitelist">online whitelist + namespaces</a>) or <i title="">blocking</i> (indicating that + URLs not listed explicitly in the manifest are to be treated as + unavailable).</li> </ul><p>Each <a href="#application-cache">application cache</a> has a <dfn id="concept-appcache-completeness" title="concept-appcache-completeness">completeness flag</dfn>, which is either <i>complete</i> or <i>incomplete</i>.</p> @@ -51043,7 +51067,13 @@ </ol></li> - </ol></div><div class="impl"> + </ol><p class="note">User agents are encouraged to consider how to react + to drags near the edge of scrollable regions. For example, if a user + drags a link to the bottom of the viewport on a long page, it might + make sense to scroll the page so that the user can drop the link + lower on the page.</p> + + </div><div class="impl"> <h5 id="when-the-drag-and-drop-operation-starts-or-ends-in-another-document"><span class="secno">7.9.4.1 </span>When the drag-and-drop operation starts or ends in another document</h5><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p> @@ -53675,8 +53705,7 @@ these steps, we'll need to uncomment out the commented-out bits --> <li>If <var title="">node</var> is an element from the <a href="#mathml-namespace">MathML - namespace</a> or the <a href="#svg-namespace">SVG namespace</a>, then set the - <var title="">foreign</var> flag to true.</li> + namespace</a> or the <a href="#svg-namespace">SVG namespace</a>, then set <var title="">foreign</var> to true.</li> <li>If <var title="">last</var> is true, then switch the <a href="#insertion-mode">insertion mode</a> to "<a href="#parsing-main-inbody" title="insertion mode: in @@ -55088,8 +55117,8 @@ <p>Otherwise, append the returned character token to the current attribute's value.</p> - <p>Finally, switch back to the attribute value state that you were - in when were switched into this state.</p> + <p>Finally, switch back to the attribute value state that switched + into this state.</p> <h5 id="after-attribute-value-quoted-state"><span class="secno">8.2.4.42 </span><dfn>After attribute value (quoted) state</dfn></h5> @@ -61002,6 +61031,7 @@ <code><a href="#the-br-element">br</a></code> elements with <code title="attr-br-clear"><a href="#attr-br-clear">clear</a></code> attributes) in the manner described in the non-normative note to this effect in CSS2.1.</p> <!-- section 9.5.2 of CSS2.1 --> + <!-- br { content: '\A'; } /* waiting for 'content' to apply to elements */ --> <p>The user agent is expected to hide <code><a href="#the-noscript-element">noscript</a></code> elements for whom <a href="#concept-n-script" title="concept-n-script">scripting is enabled</a>, @@ -68662,6 +68692,7 @@ Martin Thomson, Masataka Yakura, Mathieu Henri, + Matias Larsson, Matt Schmidt, Matt Wright, Matthew Gregan, @@ -68712,6 +68743,7 @@ Olaf Hoffmann, Olav Junker Kjær, Oldřich Vetešník, + Oli Studholme, Oliver Hunt, Oliver Rigby, Olivier Gendrin, @@ -68808,6 +68840,7 @@ Ted Mielczarek, Terrence Wood, Thomas Broyer, + Thomas Koetter, Thomas O'Connor, Tim Altman, Tim Johansson,
Received on Thursday, 26 August 2010 10:01:24 UTC