- From: poot <cvsmail@w3.org>
- Date: Sat, 25 Sep 2010 06:59:38 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Reintroduce <ol type> as conforming. (whatwg r5478) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4369&r2=1.4370&f=h http://html5.org/tools/web-apps-tracker?from=5477&to=5478 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.4369 retrieving revision 1.4370 diff -u -d -r1.4369 -r1.4370 --- Overview.html 24 Sep 2010 01:22:07 -0000 1.4369 +++ Overview.html 24 Sep 2010 21:59:17 -0000 1.4370 @@ -197,6 +197,8 @@ .dice-example caption { width: 30em; font-size: smaller; font-style: italic; padding: 0.75em 0; text-align: left; } .dice-example td, .dice-example th { border: solid thin; width: 1.35em; height: 1.05em; text-align: center; padding: 0; } + td.eg { border-width: thin; text-align: center; } + #table-example-1 { border: solid thin; border-collapse: collapse; margin-left: 3em; } #table-example-1 * { font-family: "Essays1743", serif; line-height: 1.01em; } #table-example-1 caption { padding-bottom: 0.5em; } @@ -11370,7 +11372,7 @@ which those keywords map. <!--<span class="impl">Some of the keywords are non-conforming, as noted in the last column.</span>--></p><!-- things that are neither conforming nor do anything are commented out --><!-- if you add something non-conforming, uncomment out the last sentence above --><table id="table-http-equiv"><thead><tr><th>State - <th>Keywords + <th>Keyword <th>Notes <tbody><tr><td><a href="#attr-meta-http-equiv-content-language" title="attr-meta-http-equiv-content-language">Content Language</a> <td><code title="">content-language</code> @@ -14841,11 +14843,13 @@ <dd><a href="#global-attributes">Global attributes</a></dd> <dd><code title="attr-ol-reversed"><a href="#attr-ol-reversed">reversed</a></code></dd> <dd><code title="attr-ol-start"><a href="#attr-ol-start">start</a></code></dd> + <dd><code title="attr-ol-type"><a href="#attr-ol-type">type</a></code></dd> <dt>DOM interface:</dt> <dd> <pre class="idl">interface <dfn id="htmlolistelement">HTMLOListElement</dfn> : <a href="#htmlelement">HTMLElement</a> { attribute boolean <a href="#dom-ol-reversed" title="dom-ol-reversed">reversed</a>; attribute long <a href="#dom-ol-start" title="dom-ol-start">start</a>; + attribute DOMString <a href="#dom-ol-type" title="dom-ol-type">type</a>; };</pre> </dd> </dl><p>The <code><a href="#the-ol-element">ol</a></code> element <a href="#represents">represents</a> a list of @@ -14880,13 +14884,59 @@ value</a> of the previous item, plus one if the <code title="attr-ol-reversed"><a href="#attr-ol-reversed">reversed</a></code> is absent, or minus one if it is present.</p> - <p>The <dfn id="dom-ol-reversed" title="dom-ol-reversed"><code>reversed</code></dfn> IDL - attribute must <a href="#reflect">reflect</a> the value of the <code title="attr-ol-reversed"><a href="#attr-ol-reversed">reversed</a></code> content attribute.</p> + </div><p>The <dfn id="attr-ol-type" title="attr-ol-type"><code>type</code></dfn> attribute + can be used to specify the kind of marker to use in the list, in the + cases where that matters (e.g. because items are to be referened by + their number/letter). The attribute, if specified, must have a value + that is a <a href="#case-sensitive">case-sensitive</a> match for one of the + characters given in the first cell of one of the rows of the + following table. <span class="impl">The <code title="attr-ol-type"><a href="#attr-ol-type">type</a></code> attribute represents the state + given in the cell in the second column of the row whose first cell + matches the attribute's value; if none of the cells match, or if the + attribute is omitted, then the attribute represents the <a href="#attr-ol-type-state-decimal" title="attr-ol-type-state-decimal">decimal</a> state.</span><table><thead><tr><th>Keyword + <th>State + <th>Description + <th colspan="8">Examples for values 1-3 and 3999-4001 + <tbody><tr><td><dfn id="attr-ol-type-keyword-decimal" title="attr-ol-type-keyword-decimal"><code>1</code></dfn> (U+0031) + <td><dfn id="attr-ol-type-state-decimal" title="attr-ol-type-state-decimal">decimal</dfn> + <td>Decimal numbers + <td class="eg"><samp>1.</samp> <td class="eg"><samp>2.</samp> <td class="eg"><samp>3.</samp> <td class="eg">... <td class="eg"><samp>3999.</samp> <td class="eg"><samp>4000.</samp> <td class="eg"><samp>4001.</samp> <td class="eg">... + <tr><td><dfn id="attr-ol-type-keyword-lower-alpha" title="attr-ol-type-keyword-lower-alpha"><code>a</code></dfn> (U+0061) + <td><dfn id="attr-ol-type-state-lower-alpha" title="attr-ol-type-state-lower-alpha">lower-alpha</dfn> + <td>Lowercase latin alphabet + <td class="eg"><samp>a.</samp> <td class="eg"><samp>b.</samp> <td class="eg"><samp>c.</samp> <td class="eg">... <td class="eg"><samp>ewu.</samp> <td class="eg"><samp>ewv.</samp> <td class="eg"><samp>eww.</samp> <td class="eg">... + <tr><td><dfn id="attr-ol-type-keyword-upper-alpha" title="attr-ol-type-keyword-upper-alpha"><code>A</code></dfn> (U+0041) + <td><dfn id="attr-ol-type-state-upper-alpha" title="attr-ol-type-state-upper-alpha">upper-alpha</dfn> + <td>Uppercase latin alphabet + <td class="eg"><samp>A.</samp> <td class="eg"><samp>B.</samp> <td class="eg"><samp>C.</samp> <td class="eg">... <td class="eg"><samp>EWU.</samp> <td class="eg"><samp>EWV.</samp> <td class="eg"><samp>EWW.</samp> <td class="eg">... + <tr><td><dfn id="attr-ol-type-keyword-lower-roman" title="attr-ol-type-keyword-lower-roman"><code>i</code></dfn> (U+0069) + <td><dfn id="attr-ol-type-state-lower-roman" title="attr-ol-type-state-lower-roman">lower-roman</dfn> + <td>Lowercase roman numerals + <td class="eg"><samp>i.</samp> <td class="eg"><samp>ii.</samp> <td class="eg"><samp>iii.</samp> <td class="eg">... <td class="eg"><samp>mmmcmxcix.</samp> <td class="eg"><samp>i̅v̅.</samp> <td class="eg"><samp>i̅v̅i.</samp> <td class="eg">... + <tr><td><dfn id="attr-ol-type-keyword-upper-roman" title="attr-ol-type-keyword-upper-roman"><code>I</code></dfn> (U+0049) + <td><dfn id="attr-ol-type-state-upper-roman" title="attr-ol-type-state-upper-roman">upper-roman</dfn> + <td>Uppercase roman numerals + <td class="eg"><samp>I.</samp> <td class="eg"><samp>II.</samp> <td class="eg"><samp>III.</samp> <td class="eg">... <td class="eg"><samp>MMMCMXCIX.</samp> <td class="eg"><samp>I̅V̅.</samp> <td class="eg"><samp>I̅V̅I.</samp> <td class="eg">... + </table><div class="impl"> - <p>The <dfn id="dom-ol-start" title="dom-ol-start"><code>start</code></dfn> IDL - attribute must <a href="#reflect">reflect</a> the value of the <code title="attr-ol-start"><a href="#attr-ol-start">start</a></code> content attribute.</p> + <p>User agents should render the items of the list in a manner + consistent with the state of the <code title="attr-ol-type"><a href="#attr-ol-type">type</a></code> attribute of the <code><a href="#the-ol-element">ol</a></code> + element. Numbers less than or equal to zero should always use the + decimal system regardless of the <code title="attr-ol-type"><a href="#attr-ol-type">type</a></code> attribute.</p> - </div><!-- v2: resuming numbering of lists from previous lists? --><div class="example"> + <p class="note">For CSS user agents, a mapping for this attribute to + the 'list-style-type' CSS property is given in the rendering section + (the mapping is straightforward: the states above have the same + names as their corresponding CSS values).</p> + + </div><!-- v2: resuming numbering of lists from previous lists? --><div class="impl"> + + <p>The <dfn id="dom-ol-reversed" title="dom-ol-reversed"><code>reversed</code></dfn>, + <dfn id="dom-ol-start" title="dom-ol-start"><code>start</code></dfn>, and <dfn id="dom-ol-type" title="dom-ol-type"><code>type</code></dfn> IDL attributes must + <a href="#reflect">reflect</a> the respective content attributes of the same + name.</p> + + </div><div class="example"> <p>The following markup shows a list where the order matters, and where the <code><a href="#the-ol-element">ol</a></code> element is therefore appropriate. Compare @@ -63932,7 +63982,6 @@ <dt><dfn id="attr-object-hspace" title="attr-object-hspace"><code>hspace</code></dfn> on <code><a href="#the-object-element">object</a></code> elements</dt> <dt><dfn id="attr-object-vspace" title="attr-object-vspace"><code>vspace</code></dfn> on <code><a href="#the-object-element">object</a></code> elements</dt> <dt><dfn id="attr-ol-compact" title="attr-ol-compact"><code>compact</code></dfn> on <code><a href="#the-ol-element">ol</a></code> elements</dt> - <dt><dfn id="attr-ol-type" title="attr-ol-type"><code>type</code></dfn> on <code><a href="#the-ol-element">ol</a></code> elements</dt> <dt><dfn id="attr-p-align" title="attr-p-align"><code>align</code></dfn> on <code><a href="#the-p-element">p</a></code> elements</dt> <dt><dfn id="attr-pre-width" title="attr-pre-width"><code>width</code></dfn> on <code><a href="#the-pre-element">pre</a></code> elements</dt> <dt><dfn id="attr-table-align" title="attr-table-align"><code>align</code></dfn> on <code><a href="#the-table-element">table</a></code> elements</dt> @@ -64812,13 +64861,11 @@ <hr><pre class="idl">[Supplemental] interface <a href="#htmlolistelement">HTMLOListElement</a> { attribute boolean <a href="#dom-ol-compact" title="dom-ol-compact">compact</a>; - attribute DOMString <a href="#dom-ol-type" title="dom-ol-type">type</a>; };</pre> - <p>The <dfn id="dom-ol-compact" title="dom-ol-compact"><code>compact</code></dfn> and - <dfn id="dom-ol-type" title="dom-ol-type"><code>type</code></dfn> IDL attributes of - the <code><a href="#the-ol-element">ol</a></code> element must <a href="#reflect">reflect</a> the respective - content attributes of the same name.</p> + <p>The <dfn id="dom-ol-compact" title="dom-ol-compact"><code>compact</code></dfn> IDL + attribute of the <code><a href="#the-ol-element">ol</a></code> element must <a href="#reflect">reflect</a> + the content attribute of the same name.</p> <hr><pre class="idl">[Supplemental] interface <a href="#htmlparagraphelement">HTMLParagraphElement</a> {
Received on Friday, 24 September 2010 22:00:08 UTC