[html5] r2778 - [] (0) Defined how pseudo-classes match HTML concepts. Redid how rtl/ltr changes [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Feb 10 23:36:35 PST 2009


Author: ianh
Date: 2009-02-10 23:36:34 -0800 (Tue, 10 Feb 2009)
New Revision: 2778

Modified:
   index
   source
Log:
[] (0) Defined how pseudo-classes match HTML concepts. Redid how rtl/ltr changes are marked. Stopped <legend> centering for <figure>. Removed <multicol> support. Removed <basefont> support. Removed obsolete notes. Fixed minor typos.

Modified: index
===================================================================
--- index	2009-02-11 02:54:46 UTC (rev 2777)
+++ index	2009-02-11 07:36:34 UTC (rev 2778)
@@ -645,7 +645,8 @@
    <li><a href=#miscellaneous-elements><span class=secno>4.12 </span>Miscellaneous elements</a>
     <ol>
      <li><a href=#the-legend-element><span class=secno>4.12.1 </span>The <code>legend</code> element</a></li>
-     <li><a href=#the-div-element><span class=secno>4.12.2 </span>The <code>div</code> element</a></ol></ol></li>
+     <li><a href=#the-div-element><span class=secno>4.12.2 </span>The <code>div</code> element</a></ol></li>
+   <li><a href=#matching-html-elements-using-selectors><span class=secno>4.13 </span>Matching HTML elements using selectors</a></ol></li>
  <li><a href=#browsers><span class=secno>5 </span>Web browsers</a>
   <ol>
    <li><a href=#windows><span class=secno>5.1 </span>Browsing contexts</a>
@@ -4578,8 +4579,8 @@
     affecting the display, then the <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute should be <a href=#resolve-a-url title="resolve a url">reresolved</a> relative to the element
     and the UI updated appropriately.</p>
 
-    <p class=example>For example, the CSS <code title="">:link</code>/<code title="">:visited</code>
-    pseudo-classes might have been affected.</p>
+    <p class=example>For example, the CSS <code title=selector-link><a href=#selector-link>:link</a></code>/<code title=selector-visited><a href=#selector-visited>:visited</a></code> pseudo-classes might have
+    been affected.</p>
 
     <p>If the hyperlink has a <code title=attr-hyperlink-ping><a href=#ping>ping</a></code> attribute and its <a href=#absolute-url title="absolute URL">absolute URL(s)</a> are being shown to the
     user, then the <code title=attr-hyperlink-ping><a href=#ping>ping</a></code>
@@ -12233,12 +12234,11 @@
 </figure></pre>
   </div>
 
-  <p>If the <code><a href=#the-li-element>li</a></code> element is the child of a
+  <p class=note>If the <code><a href=#the-li-element>li</a></code> element is the child of a
   <code><a href=#menus>menu</a></code> element and itself has a child that defines a
   <a href=#concept-command title=concept-command>command</a>, then the
-  <code><a href=#the-li-element>li</a></code> element must match the <code title="">:enabled</code> and <code title="">:disabled</code>
-  pseudo-classes in the same way as the first such child element
-  does.</p>
+  <code><a href=#the-li-element>li</a></code> element will match the <code title=selector-enabled><a href=#selector-enabled>:enabled</a></code> and <code title=selector-disabled><a href=#selector-disabled>:disabled</a></code> pseudo-classes in the
+  same way as the first such child element does.</p>
 
 
 
@@ -32620,8 +32620,9 @@
   attribute is in a state whose <i>relevance</i> is false must be
   disabled.</p>
 
-  <p>If a <code><a href=#the-bb-element>bb</a></code> element is enabled, it must match the <code title="">:enabled</code> pseudo-class; otherwise, it must match the
-  <code title="">:disabled</code> pseudo-class.</p>
+  <p class=note>If a <code><a href=#the-bb-element>bb</a></code> element is enabled, it will
+  match the <code title=selector-enabled><a href=#selector-enabled>:enabled</a></code>
+  pseudo-class; otherwise, it will match the <code title=selector-disabled><a href=#selector-disabled>:disabled</a></code> pseudo-class.</p>
 
   <p>User agents should allow users to invoke <code><a href=#the-bb-element>bb</a></code> elements
   when they are enabled. When a user invokes a <code><a href=#the-bb-element>bb</a></code>
@@ -33557,8 +33558,301 @@
 
 
 
+  <h3 id=matching-html-elements-using-selectors><span class=secno>4.13 </span>Matching HTML elements using selectors</h3>
 
+  <p>There are a number of dynamic selectors that can be used with
+  HTML. This section defines when these selectors match HTML
+  elements.</p>
 
+  <dl><dt><dfn id=selector-link title=selector-link><code>:link</code></dfn></dt>
+   <dt><dfn id=selector-visited title=selector-visited><code>:visited</code></dfn></dt>
+
+   <dd>
+
+    <p>All <code><a href=#the-a-element>a</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute, all
+    <code><a href=#the-area-element>area</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute, and all
+    <code><a href=#the-link-element>link</a></code> elements that have an <code title=attr-link-href><a href=#attr-link-href>href</a></code> attribute, must match one of
+    <code title=selector-link><a href=#selector-link>:link</a></code> and <code title=selector-visited><a href=#selector-visited>:visited</a></code>.</p>
+
+   </dd>
+
+
+   <dt><dfn id=selector-active title=selector-active><code>:active</code></dfn></dt>
+
+   <dd>
+
+    <p>The <code title=selector-active><a href=#selector-active>:active</a></code> pseudo-class
+    must match the following elements between the time the user begins
+    to activate the element and the time the users stops activating
+    the element:</p>
+
+    <ul><li><code><a href=#the-a-element>a</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute</li>
+
+     <li><code><a href=#the-area-element>area</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute</li>
+
+     <li><code><a href=#the-link-element>link</a></code> elements that have an <code title=attr-link-href><a href=#attr-link-href>href</a></code> attribute</li>
+
+     <li><code><a href=#the-bb-element>bb</a></code> elements whose <code title=attr-bb-type><a href=#attr-bb-type>type</a></code> attribute is in a state whose
+     <i>relevance</i> is true</li>
+
+     <li><code><a href=#the-button-element>button</a></code> elements that are not <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a></li>
+
+     <li><code><a href=#the-input-element>input</a></code> elements whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#submit-button-state title=attr-input-type-submit>Submit Button</a>, <a href=#image-button-state title=attr-input-type-image>Image Button</a>, <a href=#reset-button-state title=attr-input-type-reset>Reset Button</a>, or <a href=#button-state title=attr-input-type-button>Button</a> state</li>
+
+     <li><code><a href=#the-command>command</a></code> elements that do not have a <code title=attr-command-disabled><a href=#attr-command-disabled>disabled</a></code> attribute</li>
+
+    </ul><p class=example>For example, if the user is using a keyboard to
+    push a <code><a href=#the-button-element>button</a></code> element by pressing the space bar, the
+    element would match this pseudo-class in between the time that the
+    element received the <code title=event-keydown>keydown</code>
+    event and the time the element received the <code title=event-keyup>keyup</code> event.</p>
+
+   </dd>
+
+
+   <dt><dfn id=selector-enabled title=selector-enabled><code>:enabled</code></dfn></dt>
+
+   <dd>
+
+    <p>The <code title=selector-enabled><a href=#selector-enabled>:enabled</a></code> pseudo-class
+    must match the following elements:</p>
+
+    <ul><li><code><a href=#the-a-element>a</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute</li>
+
+     <li><code><a href=#the-area-element>area</a></code> elements that have an <code title=attr-hyperlink-href><a href=#attr-hyperlink-href>href</a></code> attribute</li>
+
+     <li><code><a href=#the-link-element>link</a></code> elements that have an <code title=attr-link-href><a href=#attr-link-href>href</a></code> attribute</li>
+
+     <li><code><a href=#the-bb-element>bb</a></code> elements whose <code title=attr-bb-type><a href=#attr-bb-type>type</a></code> attribute is in a state whose
+     <i>relevance</i> is true</li>
+
+     <li><code><a href=#the-button-element>button</a></code> elements that are not <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a></li>
+
+     <li><code><a href=#the-input-element>input</a></code> elements that are not <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a></li>
+
+     <li><code><a href=#the-select-element>select</a></code> elements that are not <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a></li>
+
+     <li><code><a href=#the-textarea-element>textarea</a></code> elements that are not <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a></li>
+
+     <li><code><a href=#the-option-element>option</a></code> elements that do not have a <code title=attr-option-disabled><a href=#attr-option-disabled>disabled</a></code> attribute</li>
+
+     <li><code><a href=#the-command>command</a></code> elements that do not have a <code title=attr-command-disabled><a href=#attr-command-disabled>disabled</a></code> attribute</li>
+
+     <li><code><a href=#the-li-element>li</a></code> elements that are children of
+     <code><a href=#menus>menu</a></code> elements, and that have a child element that
+     defines a <a href=#concept-command title=concept-command>command</a>, if the
+     first such element's <a href=#command-facet-disabledstate title=command-facet-disabledstate>Disabled State</a> facet
+     is false (not disabled)</li>
+
+     <li>any other element, if it is <a href=#focusable>focusable</a></li>
+
+    </ul></dd>
+
+
+   <dt><dfn id=selector-disabled title=selector-disabled><code>:disabled</code></dfn></dt>
+
+   <dd>
+
+    <p>The <code title=selector-disabled><a href=#selector-disabled>:disabled</a></code>
+    pseudo-class must match the following elements:</p>
+
+    <ul><li><code><a href=#the-bb-element>bb</a></code> elements whose <code title=attr-bb-type><a href=#attr-bb-type>type</a></code> attribute is in a state whose
+     <i>relevance</i> is false</li>
+
+     <li><code><a href=#the-button-element>button</a></code> elements that are <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a></li>
+
+     <li><code><a href=#the-input-element>input</a></code> elements that are <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a></li>
+
+     <li><code><a href=#the-select-element>select</a></code> elements that are <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a></li>
+
+     <li><code><a href=#the-textarea-element>textarea</a></code> elements that are <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a></li>
+
+     <li><code><a href=#the-option-element>option</a></code> elements that have a <code title=attr-option-disabled><a href=#attr-option-disabled>disabled</a></code> attribute</li>
+
+     <li><code><a href=#the-command>command</a></code> elements that have a <code title=attr-command-disabled><a href=#attr-command-disabled>disabled</a></code> attribute</li>
+
+     <li><code><a href=#the-li-element>li</a></code> elements that are children of
+     <code><a href=#menus>menu</a></code> elements, and that have a child element that
+     defines a <a href=#concept-command title=concept-command>command</a>, if the
+     first such element's <a href=#command-facet-disabledstate title=command-facet-disabledstate>Disabled State</a> facet
+     is true (disabled)</li>
+
+    </ul></dd>
+
+
+   <dt><dfn id=selector-checked title=selector-checked><code>:checked</code></dfn></dt>
+
+   <dd>
+
+    <p>The <code title=selector-checked><a href=#selector-checked>:checked</a></code> pseudo-class
+    must match the following elements:</p>
+
+    <ul><li><code><a href=#the-input-element>input</a></code> elements whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#checkbox-state title=attr-input-type-checkbox>Checkbox</a> state and whose
+     <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> state is
+     true</li>
+
+     <li><code><a href=#the-input-element>input</a></code> elements whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#radio-button-state title=attr-input-type-radio>Radio Button</a> state and whose
+     <a href=#concept-fe-checked title=concept-fe-checked>checkedness</a> state is
+     true</li>
+
+     <li><code><a href=#the-command>command</a></code> elements whose <code title=attr-command-type><a href=#attr-command-type>type</a></code> attribute is in the <a href=#attr-command-type-state-checkbox title=attr-command-type-state-checkbox>Checkbox</a> state
+     and that have a <code title=attr-command-checked><a href=#attr-command-checked>checked</a></code>
+     attribute</li>
+
+     <li><code><a href=#the-command>command</a></code> elements whose <code title=attr-command-type><a href=#attr-command-type>type</a></code> attribute is in the <a href=#attr-command-type-state-radio title=attr-command-type-state-radio>Radio</a> state and that
+     have a <code title=attr-command-checked><a href=#attr-command-checked>checked</a></code>
+     attribute</li>
+
+    </ul></dd>
+
+
+   <dt><dfn id=selector-indeterminate title=selector-indeterminate><code>:indeterminate</code></dfn></dt>
+
+   <dd>
+
+    <p>The <code title=selector-indeterminate><a href=#selector-indeterminate>:indeterminate</a></code>
+    pseudo-class must match <code><a href=#the-input-element>input</a></code> elements whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#checkbox-state title=attr-input-type-checkbox>Checkbox</a> state and whose
+    <code title=dom-input-indeterminate><a href=#dom-input-indeterminate>indeterminate</a></code> DOM
+    attribute is set to true.</p>
+
+   </dd>
+
+
+   <dt><dfn id=selector-default title=selector-default><code>:default</code></dfn></dt>
+
+   <dd>
+
+    <p>The <code title=selector-default><a href=#selector-default>:default</a></code> pseudo-class
+    must match the following elements:</p>
+
+    <ul><li><code><a href=#the-button-element>button</a></code> elements that are their form's
+     <a href=#default-button>default button</a></li>
+
+     <li><code><a href=#the-input-element>input</a></code> elements whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#submit-button-state title=attr-input-type-submit>Submit Button</a> or <a href=#image-button-state title=attr-input-type-image>Image Button</a> state, and that
+     are their form's <a href=#default-button>default button</a></li>
+ 
+     <li><code><a href=#the-command>command</a></code> elements that have a <code title=attr-command-default><a href=#attr-command-default>default</a></code> attribute</li>
+
+    </ul></dd>
+
+
+   <dt><dfn id=selector-valid title=selector-valid><code>:valid</code></dfn></dt>
+
+   <dd>
+
+    <p>The <code title=selector-valid><a href=#selector-valid>:valid</a></code> pseudo-class
+    must match all elements that are <a href=#candidate-for-constraint-validation title="candidate for
+    constraint validation">candidates for constraint validation</a>
+    and that <a href=#concept-fv-valid title=concept-fv-valid>satisfy their
+    constraints</a>.</p>
+
+   </dd>
+
+
+   <dt><dfn id=selector-invalid title=selector-invalid><code>:invalid</code></dfn></dt>
+
+   <dd>
+
+    <p>The <code title=selector-invalid><a href=#selector-invalid>:invalid</a></code> pseudo-class
+    must match all elements that are <a href=#candidate-for-constraint-validation title="candidate for
+    constraint validation">candidates for constraint validation</a>
+    but that do not <a href=#concept-fv-valid title=concept-fv-valid>satisfy their
+    constraints</a>.</p>
+
+   </dd>
+
+
+   <dt><dfn id=selector-in-range title=selector-in-range><code>:in-range</code></dfn></dt>
+
+   <dd>
+
+    <p>The <code title=selector-in-range><a href=#selector-in-range>:in-range</a></code>
+    pseudo-class must match all elements that are <a href=#candidate-for-constraint-validation title="candidate for constraint validation">candidates for
+    constraint validation</a> and that are neither <a href=#suffering-from-an-underflow>suffering
+    from an underflow</a> nor <a href=#suffering-from-an-overflow>suffering from an
+    overflow</a>.</p>
+
+   </dd>
+
+
+   <dt><dfn id=selector-out-of-range title=selector-out-of-range><code>:out-of-range</code></dfn></dt>
+
+   <dd>
+
+    <p>The <code title=selector-out-of-range><a href=#selector-out-of-range>:out-of-range</a></code>
+    pseudo-class must match all elements that are <a href=#candidate-for-constraint-validation title="candidate for constraint validation">candidates for
+    constraint validation</a> and that are <a href=#suffering-from-an-underflow>suffering from an
+    underflow</a> or <a href=#suffering-from-an-overflow>suffering from an overflow</a>.</p>
+
+   </dd>
+
+
+   <dt><dfn id=selector-required title=selector-required><code>:required</code></dfn></dt>
+
+   <dd>
+
+    <p>The <code title=selector-required><a href=#selector-required>:required</a></code>
+    pseudo-class must match the following elements:</p>
+
+    <ul><li><code><a href=#the-input-element>input</a></code> elements that are <i title=concept-input-required><a href=#concept-input-required>required</a></i></li>
+
+     <li><code><a href=#the-textarea-element>textarea</a></code> elements that have a <code title=attr-textarea-required><a href=#attr-textarea-required>required</a></code>
+     attribute</li>
+
+    </ul></dd>
+
+
+   <dt><dfn id=selector-optional title=selector-optional><code>:optional</code></dfn></dt>
+
+   <dd>
+
+    <p>The <code title=selector-optional><a href=#selector-optional>:optional</a></code>
+    pseudo-class must match the following elements:</p>
+
+    <ul><li><code><a href=#the-button-element>button</a></code> elements</li>
+
+     <li><code><a href=#the-input-element>input</a></code> elements that are not <i title=concept-input-required><a href=#concept-input-required>required</a></i></li>
+
+     <li><code><a href=#the-select-element>select</a></code> elements</li>
+
+     <li><code><a href=#the-textarea-element>textarea</a></code> elements that do not have a <code title=attr-textarea-required><a href=#attr-textarea-required>required</a></code>
+     attribute</li>
+
+    </ul></dd>
+
+
+   <dt><dfn id=selector-read-only title=selector-read-only><code>:read-only</code></dfn></dt>
+   <dt><dfn id="title=-selector-read-write-:read-write"> title="selector-read-write"><code>:read-write</code></dfn></dt>
+
+   <dd>
+
+    <p>The <code title=selector-read-write>:read-write</code>
+    pseudo-class must match the following elements:</p>
+
+    <ul><li>an <code><a href=#the-input-element>input</a></code> element to which the <code title=attr-input-readonly><a href=#attr-input-readonly>readonly</a></code> attribute applies,
+     but that is not <i title=concept-input-immutable><a href=#concept-input-immutable>immutable</a></i>
+     (i.e. that does not have the attribute specified)</li>
+
+     <li><code><a href=#the-textarea-element>textarea</a></code> elements that do not have a <code title=attr-textarea-readonly><a href=#attr-textarea-readonly>readonly</a></code> attribute</li>
+
+     <li>any element that is <a href=#editable>editable</a></li>
+
+    </ul><p>The <code title=selector-read-only><a href=#selector-read-only>:read-only</a></code>
+    pseudo-class must match all other <a href=#html-elements>HTML elements</a>.</p>
+
+   </dd>
+
+  </dl><p class=note>Another section of this specification defines the
+  <i><a href=#target-element>target element</a></i> used with the <code title=selector-target>:target</code> pseudo-class.</p>
+
+  <p class=note>This specification does not define when an element
+  matches the <code title=selector-hover>:hover</code>, <code title=selector-focus>:focus</code>, or <code title=selector-lang()>:lang()</code> dynamic pseudo-classes, as
+  those are all defined in sufficient detail in a language-agnostic
+  fashion in the Selectors specification. <a href=#refsSELECTORS>[SELECTORS]</a></p>
+
+
+
+
   <h2 id=browsers><span class=secno>5 </span>Web browsers</h2>
 
   <p>This section describes features that apply most directly to Web
@@ -39427,9 +39721,10 @@
    <li><p>Otherwise, there is no indicated part of the
    document.</li>
 
-  </ol><p>For the purposes of the interaction of HTML with Selectors' <code title="">:target</code> pseudo-class, the <i>target element</i> is
-  <a href=#the-indicated-part-of-the-document>the indicated part of the document</a>, if that is an
-  element; otherwise there is no <i>target element</i>. <a href=#refsSELECTORS>[SELECTORS]</a></p>
+  </ol><p>For the purposes of the interaction of HTML with Selectors' <code title=selector-target>:target</code> pseudo-class, the
+  <dfn id=target-element><i>target element</i></dfn> is <a href=#the-indicated-part-of-the-document>the indicated part of the
+  document</a>, if that is an element; otherwise there is no
+  <i><a href=#target-element>target element</a></i>. <a href=#refsSELECTORS>[SELECTORS]</a></p>
 
 
   <h4 id=history-traversal><span class=secno>5.10.9 </span>History traversal</h4>
@@ -42422,7 +42717,8 @@
   <p class=note>This specification does not specify how selections
   are presented to the user. The Selectors specification, in
   conjunction with CSS, can be used to style text selections using the
-  <code title="">::selection</code> pseudo-element. <a href=#refsSELECTORS>[SELECTORS]</a> <a href=#refsCSS21>[CSS21]</a></p>
+  <code title=selector-selection>::selection</code>
+  pseudo-element. <a href=#refsSELECTORS>[SELECTORS]</a> <a href=#refsCSS21>[CSS21]</a></p>
 
 
 
@@ -56092,10 +56388,10 @@
   presentational hints part of the CSS cascade; these are explicitly
   called out as <dfn id=presentational-hints>presentational hints</dfn>.</p>
 
-  <p>Rules regarding left and right margins are given here as
-  appropriate for elements whose 'direction' property is 'ltr', and
+  <p>Some of the rules regarding left and right margins are given here
+  as appropriate for elements whose 'direction' property is 'ltr', and
   are expected to be flipped around on elements whose 'direction'
-  property is 'rtl'.</p>
+  property is 'rtl'. These are marked "<dfn id=ltr-specific>LTR-specific</dfn>".</p>
 
   <hr><p>When the text below says that an attribute <var title="">attribute</var> on an element <var title="">element</var>
   <dfn id=maps-to-the-pixel-length-property>maps to the pixel length property</dfn> (or properties) <var title="">properties</var>, it means that if <var title="">element</var> has an attribute <var title="">attribute</var> set, and parsing that attribute's value
@@ -56126,8 +56422,8 @@
 
 address, article, aside, blockquote, body, center, dd, dialog, dir,
 div, dl, dt, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hr,
-html, layer, legend, listing, menu, multicol, nav, ol, p, plaintext,
-pre, rp, section, ul, xmp { display: block; }
+html, layer, legend, listing, menu, nav, ol, p, plaintext, pre, rp,
+section, ul, xmp { display: block; }
 
 table { display: table; }
 caption { display: table-caption; }
@@ -56205,8 +56501,8 @@
 h5 { margin-top: 1.67em; margin-bottom; 1.67em; }
 h6 { margin-top: 2.33em; margin-bottom; 2.33em; }
 
-dd { margin-left: 40px; } /* margin-right, for rtl elements */
-dir, menu, ol, ul { padding-left: 40px; } /* padding-right, for rtl elements */
+dd { margin-left: 40px; } /* <a href=#ltr-specific>LTR-specific</a>: use 'margin-right' for rtl elements */
+dir, menu, ol, ul { padding-left: 40px; } /* <a href=#ltr-specific>LTR-specific</a>: use 'padding-right' for rtl elements */
 blockquote, figure { margin-left: 40px; margin-right: 40px; }
 
 table { border-spacing: 2px; border-collapse: separate; }
@@ -56345,7 +56641,7 @@
 tr, td, th { vertical-align: inherit; }
 sub { vertical-align: sub; }
 sup { vertical-align: super; }
-th, figure > legend { text-align: center; }</pre>
+th { text-align: center; }</pre>
 
   <hr><p>The following rules are also expected to apply, as
   <a href=#presentational-hints>presentational hints</a>:</p>
@@ -56538,7 +56834,7 @@
            but it's still not optimal... -->
   <pre class=css>@namespace url(http://www.w3.org/1999/xhtml);
 
-<var title="">x</var> h1 { font-size: 1.05em; }
+<var title="">x</var> h1 { font-size: 1.50em; }
 <var title="">x</var> <var title="">x</var> h1 { font-size: 1.17em; }
 <var title="">x</var> <var title="">x</var> <var title="">x</var> h1 { font-size: 1.00em; }
 <var title="">x</var> <var title="">x</var> <var title="">x</var> <var title="">x</var> h1 { font-size: 0.83em; }
@@ -56659,31 +56955,14 @@
 
    <li> 
 
-    <p>If <var title="">mode</var> is not <i>absolute</i>, run these
-    substeps:</p>
+    <!-- basefont support would go here, but we removed it -->
 
-    <ol><li><p>Let <var title="">base</var> be 3.</li>
+    <p>If <var title="">mode</var> is is <i>relative-plus</i>, then
+    increment <var title="">value</var> by 3. If <var title="">mode</var> is is <i>relative-minus</i>, then decrement
+    <var title="">value</var> by 3.</p>
 
-     <li><p>Let <var title="">base element</var> be the the last
-     <code>basefont</code> element in <a href=#tree-order>tree order</a> that is
-     before the <code>font</code> element, if there is one.</li>
+   </li>
 
-     <li><p>If there is a <var title="">base element</var>, and it has
-     a <code title=attr-basefont-size>size</code> attribute, then
-     apply the <a href=#rules-for-parsing-non-negative-integers>rules for parsing non-negative integers</a> to
-     that attribute's value.</li>
-
-     <li><p>If <var title="">base</var> is greater than 7, let it be
-     7.</li>
-
-     <li><p>If <var title="">base</var> is less than 1, let it be
-     1.</li>
-
-     <li><p>If <var title="">mode</var> is <i>relative-plus</i>, then
-     increment <var title="">value</var> by <var title="">base</var>. Otherwise, decrement <var title="">value</var> by <var title="">base</var>.</li>
-
-    </ol></li>
-
    <li><p>If <var title="">value</var> is greater than 7, let it be
    7.</li>
 
@@ -56821,7 +57100,7 @@
 
 table[frames=void] > tr > td, table[frames=void] > tr > th,
 table[frames=above] > tr > td, table[frames=above] > tr > th,
-table[frames=below] > > tr > td, table[frames=below] > tr > th,
+table[frames=below] > tr > td, table[frames=below] > tr > th,
 table[frames=hsides] > tr > td, table[frames=hsides] > tr > th,
 table[frames=lhs] > tr > td, table[frames=lhs] > tr > th,
 table[frames=rhs] > tr > td, table[frames=rhs] > tr > th,
@@ -57499,7 +57778,7 @@
 }</pre>
 
   <p>When the <i title="">input-button</i> binding applies to an
-  <code><a href=#the-input-element>input</a></code> element whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#submit-button-state title=attr-input-type-submit>Submit Button</a> <a href=#reset-button-state title=attr-input-type-reset>Reset Button</a>, or <a href=#button-state title=attr-input-type-button>Button</a> state, the element is
+  <code><a href=#the-input-element>input</a></code> element whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href=#submit-button-state title=attr-input-type-submit>Submit Button</a>, <a href=#reset-button-state title=attr-input-type-reset>Reset Button</a>, or <a href=#button-state title=attr-input-type-button>Button</a> state, the element is
   expected to render as an 'inline-block' box rendered as a button,
   about one line high, containing the contents of the element's <code title=attr-input-value><a href=#attr-input-value>value</a></code> attribute, if any, or text
   derived from the element's <code title=attr-input-type><a href=#attr-input-type>type</a></code>
@@ -57718,13 +57997,13 @@
 
     <p>Invoke the algorithm defined below to <a href=#convert-a-list-of-dimensions-to-a-list-of-pixel-values>convert a list of
     dimensions to a list of pixel values</a> using <var title="">cols</var> as the input list, and the width of the
-    surface that the <code><a href=#the-fieldset-element>fieldset</a></code> is being rendered into, in
+    surface that the <code>frameset</code> is being rendered into, in
     CSS pixels, as the input dimension. Let <var title="">sized
     cols</var> be the resulting list.</p>
 
     <p>Invoke the algorithm defined below to <a href=#convert-a-list-of-dimensions-to-a-list-of-pixel-values>convert a list of
     dimensions to a list of pixel values</a> using <var title="">rows</var> as the input list, and the height of the
-    surface that the <code><a href=#the-fieldset-element>fieldset</a></code> is being rendered into, in
+    surface that the <code>frameset</code> is being rendered into, in
     CSS pixels, as the input dimension. Let <var title="">sized
     rows</var> be the resulting list.</p>
 
@@ -58031,8 +58310,6 @@
   are case-insensitive, as well as saying which attribute values must
   be compared case-insensitively.</p>
 
-  <p class=XXX>which pseudo-class selectors match what</p>
-
   <!-- XXX
 
     Extensions to CSS
@@ -58042,13 +58319,8 @@
 
   -->
 
-  <!-- XXX need to separate the author-level rules from the user-agent-level rules
-       so that the user-level rules can slide between them
-       the spec lists the attributes that should count as presentational:
-       http://www.w3.org/Style/Group/css2-src/cascade.html#preshint -->
 
 
-
   <h2 id=obsolete-features><span class=secno>11 </span>Obsolete features</h2>
 
   <p>Authors and documents must not use the features listed in this

Modified: source
===================================================================
--- source	2009-02-11 02:54:46 UTC (rev 2777)
+++ source	2009-02-11 07:36:34 UTC (rev 2778)
@@ -4192,8 +4192,9 @@
     and the UI updated appropriately.</p>
 
     <p class="example">For example, the CSS <code
-    title="">:link</code>/<code title="">:visited</code>
-    pseudo-classes might have been affected.</p>
+    title="selector-link">:link</code>/<code
+    title="selector-visited">:visited</code> pseudo-classes might have
+    been affected.</p>
 
     <p>If the hyperlink has a <code
     title="attr-hyperlink-ping">ping</code> attribute and its <span
@@ -12966,13 +12967,13 @@
 </figure></pre>
   </div>
 
-  <p>If the <code>li</code> element is the child of a
+  <p class="note">If the <code>li</code> element is the child of a
   <code>menu</code> element and itself has a child that defines a
   <span title="concept-command">command</span>, then the
-  <code>li</code> element must match the <code
-  title="">:enabled</code> and <code title="">:disabled</code>
-  pseudo-classes in the same way as the first such child element
-  does.</p>
+  <code>li</code> element will match the <code
+  title="selector-enabled">:enabled</code> and <code
+  title="selector-disabled">:disabled</code> pseudo-classes in the
+  same way as the first such child element does.</p>
 
 
 
@@ -36946,9 +36947,10 @@
   attribute is in a state whose <i>relevance</i> is false must be
   disabled.</p>
 
-  <p>If a <code>bb</code> element is enabled, it must match the <code
-  title="">:enabled</code> pseudo-class; otherwise, it must match the
-  <code title="">:disabled</code> pseudo-class.</p>
+  <p class="note">If a <code>bb</code> element is enabled, it will
+  match the <code title="selector-enabled">:enabled</code>
+  pseudo-class; otherwise, it will match the <code
+  title="selector-disabled">:disabled</code> pseudo-class.</p>
 
   <p>User agents should allow users to invoke <code>bb</code> elements
   when they are enabled. When a user invokes a <code>bb</code>
@@ -38037,8 +38039,398 @@
 
 
 
+  <h3>Matching HTML elements using selectors</h3>
 
+  <p>There are a number of dynamic selectors that can be used with
+  HTML. This section defines when these selectors match HTML
+  elements.</p>
 
+  <dl>
+
+   <dt><dfn title="selector-link"><code>:link</code></dfn></dt>
+   <dt><dfn title="selector-visited"><code>:visited</code></dfn></dt>
+
+   <dd>
+
+    <p>All <code>a</code> elements that have an <code
+    title="attr-hyperlink-href">href</code> attribute, all
+    <code>area</code> elements that have an <code
+    title="attr-hyperlink-href">href</code> attribute, and all
+    <code>link</code> elements that have an <code
+    title="attr-link-href">href</code> attribute, must match one of
+    <code title="selector-link">:link</code> and <code
+    title="selector-visited">:visited</code>.</p>
+
+   </dd>
+
+
+   <dt><dfn title="selector-active"><code>:active</code></dfn></dt>
+
+   <dd>
+
+    <p>The <code title="selector-active">:active</code> pseudo-class
+    must match the following elements between the time the user begins
+    to activate the element and the time the users stops activating
+    the element:</p>
+
+    <ul>
+
+     <li><code>a</code> elements that have an <code
+     title="attr-hyperlink-href">href</code> attribute</li>
+
+     <li><code>area</code> elements that have an <code
+     title="attr-hyperlink-href">href</code> attribute</li>
+
+     <li><code>link</code> elements that have an <code
+     title="attr-link-href">href</code> attribute</li>
+
+     <li><code>bb</code> elements whose <code
+     title="attr-bb-type">type</code> attribute is in a state whose
+     <i>relevance</i> is true</li>
+
+     <li><code>button</code> elements that are not <span
+     title="concept-fe-disabled">disabled</span></li>
+
+     <li><code>input</code> elements whose <code
+     title="attr-input-type">type</code> attribute is in the <span
+     title="attr-input-type-submit">Submit Button</span>, <span
+     title="attr-input-type-image">Image Button</span>, <span
+     title="attr-input-type-reset">Reset Button</span>, or <span
+     title="attr-input-type-button">Button</span> state</li>
+
+     <li><code>command</code> elements that do not have a <code
+     title="attr-command-disabled">disabled</code> attribute</li>
+
+    </ul>
+
+    <p class="example">For example, if the user is using a keyboard to
+    push a <code>button</code> element by pressing the space bar, the
+    element would match this pseudo-class in between the time that the
+    element received the <code title="event-keydown">keydown</code>
+    event and the time the element received the <code
+    title="event-keyup">keyup</code> event.</p>
+
+   </dd>
+
+
+   <dt><dfn title="selector-enabled"><code>:enabled</code></dfn></dt>
+
+   <dd>
+
+    <p>The <code title="selector-enabled">:enabled</code> pseudo-class
+    must match the following elements:</p>
+
+    <ul>
+
+     <li><code>a</code> elements that have an <code
+     title="attr-hyperlink-href">href</code> attribute</li>
+
+     <li><code>area</code> elements that have an <code
+     title="attr-hyperlink-href">href</code> attribute</li>
+
+     <li><code>link</code> elements that have an <code
+     title="attr-link-href">href</code> attribute</li>
+
+     <li><code>bb</code> elements whose <code
+     title="attr-bb-type">type</code> attribute is in a state whose
+     <i>relevance</i> is true</li>
+
+     <li><code>button</code> elements that are not <span
+     title="concept-fe-disabled">disabled</span></li>
+
+     <li><code>input</code> elements that are not <span
+     title="concept-fe-disabled">disabled</span></li>
+
+     <li><code>select</code> elements that are not <span
+     title="concept-fe-disabled">disabled</span></li>
+
+     <li><code>textarea</code> elements that are not <span
+     title="concept-fe-disabled">disabled</span></li>
+
+     <li><code>option</code> elements that do not have a <code
+     title="attr-option-disabled">disabled</code> attribute</li>
+
+     <li><code>command</code> elements that do not have a <code
+     title="attr-command-disabled">disabled</code> attribute</li>
+
+     <li><code>li</code> elements that are children of
+     <code>menu</code> elements, and that have a child element that
+     defines a <span title="concept-command">command</span>, if the
+     first such element's <span
+     title="command-facet-disabledstate">Disabled State</span> facet
+     is false (not disabled)</li>
+
+     <li>any other element, if it is <span>focusable</span></li>
+
+    </ul>
+
+   </dd>
+
+
+   <dt><dfn title="selector-disabled"><code>:disabled</code></dfn></dt>
+
+   <dd>
+
+    <p>The <code title="selector-disabled">:disabled</code>
+    pseudo-class must match the following elements:</p>
+
+    <ul>
+
+     <li><code>bb</code> elements whose <code
+     title="attr-bb-type">type</code> attribute is in a state whose
+     <i>relevance</i> is false</li>
+
+     <li><code>button</code> elements that are <span
+     title="concept-fe-disabled">disabled</span></li>
+
+     <li><code>input</code> elements that are <span
+     title="concept-fe-disabled">disabled</span></li>
+
+     <li><code>select</code> elements that are <span
+     title="concept-fe-disabled">disabled</span></li>
+
+     <li><code>textarea</code> elements that are <span
+     title="concept-fe-disabled">disabled</span></li>
+
+     <li><code>option</code> elements that have a <code
+     title="attr-option-disabled">disabled</code> attribute</li>
+
+     <li><code>command</code> elements that have a <code
+     title="attr-command-disabled">disabled</code> attribute</li>
+
+     <li><code>li</code> elements that are children of
+     <code>menu</code> elements, and that have a child element that
+     defines a <span title="concept-command">command</span>, if the
+     first such element's <span
+     title="command-facet-disabledstate">Disabled State</span> facet
+     is true (disabled)</li>
+
+    </ul>
+
+   </dd>
+
+
+   <dt><dfn title="selector-checked"><code>:checked</code></dfn></dt>
+
+   <dd>
+
+    <p>The <code title="selector-checked">:checked</code> pseudo-class
+    must match the following elements:</p>
+
+    <ul>
+
+     <li><code>input</code> elements whose <code
+     title="attr-input-type">type</code> attribute is in the <span
+     title="attr-input-type-checkbox">Checkbox</span> state and whose
+     <span title="concept-fe-checked">checkedness</span> state is
+     true</li>
+
+     <li><code>input</code> elements whose <code
+     title="attr-input-type">type</code> attribute is in the <span
+     title="attr-input-type-radio">Radio Button</span> state and whose
+     <span title="concept-fe-checked">checkedness</span> state is
+     true</li>
+
+     <li><code>command</code> elements whose <code
+     title="attr-command-type">type</code> attribute is in the <span
+     title="attr-command-type-state-checkbox">Checkbox</span> state
+     and that have a <code title="attr-command-checked">checked</code>
+     attribute</li>
+
+     <li><code>command</code> elements whose <code
+     title="attr-command-type">type</code> attribute is in the <span
+     title="attr-command-type-state-radio">Radio</span> state and that
+     have a <code title="attr-command-checked">checked</code>
+     attribute</li>
+
+    </ul>
+
+   </dd>
+
+
+   <dt><dfn title="selector-indeterminate"><code>:indeterminate</code></dfn></dt>
+
+   <dd>
+
+    <p>The <code title="selector-indeterminate">:indeterminate</code>
+    pseudo-class must match <code>input</code> elements whose <code
+    title="attr-input-type">type</code> attribute is in the <span
+    title="attr-input-type-checkbox">Checkbox</span> state and whose
+    <code title="dom-input-indeterminate">indeterminate</code> DOM
+    attribute is set to true.</p>
+
+   </dd>
+
+
+   <dt><dfn title="selector-default"><code>:default</code></dfn></dt>
+
+   <dd>
+
+    <p>The <code title="selector-default">:default</code> pseudo-class
+    must match the following elements:</p>
+
+    <ul>
+
+     <li><code>button</code> elements that are their form's
+     <span>default button</span></li>
+
+     <li><code>input</code> elements whose <code
+     title="attr-input-type">type</code> attribute is in the <span
+     title="attr-input-type-submit">Submit Button</span> or <span
+     title="attr-input-type-image">Image Button</span> state, and that
+     are their form's <span>default button</span></li>
+ 
+     <li><code>command</code> elements that have a <code
+     title="attr-command-default">default</code> attribute</li>
+
+    </ul>
+
+   </dd>
+
+
+   <dt><dfn title="selector-valid"><code>:valid</code></dfn></dt>
+
+   <dd>
+
+    <p>The <code title="selector-valid">:valid</code> pseudo-class
+    must match all elements that are <span title="candidate for
+    constraint validation">candidates for constraint validation</span>
+    and that <span title="concept-fv-valid">satisfy their
+    constraints</span>.</p>
+
+   </dd>
+
+
+   <dt><dfn title="selector-invalid"><code>:invalid</code></dfn></dt>
+
+   <dd>
+
+    <p>The <code title="selector-invalid">:invalid</code> pseudo-class
+    must match all elements that are <span title="candidate for
+    constraint validation">candidates for constraint validation</span>
+    but that do not <span title="concept-fv-valid">satisfy their
+    constraints</span>.</p>
+
+   </dd>
+
+
+   <dt><dfn title="selector-in-range"><code>:in-range</code></dfn></dt>
+
+   <dd>
+
+    <p>The <code title="selector-in-range">:in-range</code>
+    pseudo-class must match all elements that are <span
+    title="candidate for constraint validation">candidates for
+    constraint validation</span> and that are neither <span>suffering
+    from an underflow</span> nor <span>suffering from an
+    overflow</span>.</p>
+
+   </dd>
+
+
+   <dt><dfn title="selector-out-of-range"><code>:out-of-range</code></dfn></dt>
+
+   <dd>
+
+    <p>The <code title="selector-out-of-range">:out-of-range</code>
+    pseudo-class must match all elements that are <span
+    title="candidate for constraint validation">candidates for
+    constraint validation</span> and that are <span>suffering from an
+    underflow</span> or <span>suffering from an overflow</span>.</p>
+
+   </dd>
+
+
+   <dt><dfn title="selector-required"><code>:required</code></dfn></dt>
+
+   <dd>
+
+    <p>The <code title="selector-required">:required</code>
+    pseudo-class must match the following elements:</p>
+
+    <ul>
+
+     <li><code>input</code> elements that are <i
+     title="concept-input-required">required</i></li>
+
+     <li><code>textarea</code> elements that have a <code
+     title="attr-textarea-required">required</code>
+     attribute</li>
+
+    </ul>
+
+   </dd>
+
+
+   <dt><dfn title="selector-optional"><code>:optional</code></dfn></dt>
+
+   <dd>
+
+    <p>The <code title="selector-optional">:optional</code>
+    pseudo-class must match the following elements:</p>
+
+    <ul>
+
+     <li><code>button</code> elements</li>
+
+     <li><code>input</code> elements that are not <i
+     title="concept-input-required">required</i></li>
+
+     <li><code>select</code> elements</li>
+
+     <li><code>textarea</code> elements that do not have a <code
+     title="attr-textarea-required">required</code>
+     attribute</li>
+
+    </ul>
+
+   </dd>
+
+
+   <dt><dfn title="selector-read-only"><code>:read-only</code></dfn></dt>
+   <dt><dfn> title="selector-read-write"><code>:read-write</code></dfn></dt>
+
+   <dd>
+
+    <p>The <code title="selector-read-write">:read-write</code>
+    pseudo-class must match the following elements:</p>
+
+    <ul>
+
+     <li>an <code>input</code> element to which the <code
+     title="attr-input-readonly">readonly</code> attribute applies,
+     but that is not <i title="concept-input-immutable">immutable</i>
+     (i.e. that does not have the attribute specified)</li>
+
+     <li><code>textarea</code> elements that do not have a <code
+     title="attr-textarea-readonly">readonly</code> attribute</li>
+
+     <li>any element that is <span>editable</span></li>
+
+    </ul>
+
+    <p>The <code title="selector-read-only">:read-only</code>
+    pseudo-class must match all other <span>HTML elements</span>.</p>
+
+   </dd>
+
+  </dl>
+
+  <p class="note">Another section of this specification defines the
+  <i>target element</i> used with the <code
+  title="selector-target">:target</code> pseudo-class.</p>
+
+  <p class="note">This specification does not define when an element
+  matches the <code title="selector-hover">:hover</code>, <code
+  title="selector-focus">:focus</code>, or <code
+  title="selector-lang()">:lang()</code> dynamic pseudo-classes, as
+  those are all defined in sufficient detail in a language-agnostic
+  fashion in the Selectors specification. <a
+  href="#refsSELECTORS">[SELECTORS]</a></p>
+
+
+
+
   <h2 id="browsers">Web browsers</h2>
 
   <p>This section describes features that apply most directly to Web
@@ -44857,10 +45249,10 @@
   </ol>
 
   <p>For the purposes of the interaction of HTML with Selectors' <code
-  title="">:target</code> pseudo-class, the <i>target element</i> is
-  <span>the indicated part of the document</span>, if that is an
-  element; otherwise there is no <i>target element</i>. <a
-  href="#refsSELECTORS">[SELECTORS]</a></p>
+  title="selector-target">:target</code> pseudo-class, the
+  <dfn><i>target element</i></dfn> is <span>the indicated part of the
+  document</span>, if that is an element; otherwise there is no
+  <i>target element</i>. <a href="#refsSELECTORS">[SELECTORS]</a></p>
 
 
   <h4>History traversal</h4>
@@ -48270,8 +48662,8 @@
   <p class="note">This specification does not specify how selections
   are presented to the user. The Selectors specification, in
   conjunction with CSS, can be used to style text selections using the
-  <code title="">::selection</code> pseudo-element. <a
-  href="#refsSELECTORS">[SELECTORS]</a> <a
+  <code title="selector-selection">::selection</code>
+  pseudo-element. <a href="#refsSELECTORS">[SELECTORS]</a> <a
   href="#refsCSS21">[CSS21]</a></p>
 
 
@@ -61322,7 +61714,6 @@
 
 
 
-
   <h2 id="rendering">Rendering</h2>
 
   <p><em>User agents are not required present HTML documents in any
@@ -61368,10 +61759,10 @@
   presentational hints part of the CSS cascade; these are explicitly
   called out as <dfn>presentational hints</dfn>.</p>
 
-  <p>Rules regarding left and right margins are given here as
-  appropriate for elements whose 'direction' property is 'ltr', and
+  <p>Some of the rules regarding left and right margins are given here
+  as appropriate for elements whose 'direction' property is 'ltr', and
   are expected to be flipped around on elements whose 'direction'
-  property is 'rtl'.</p>
+  property is 'rtl'. These are marked "<dfn>LTR-specific</dfn>".</p>
 
   <hr>
 
@@ -61414,8 +61805,8 @@
 
 address, article, aside, blockquote, body, center, dd, dialog, dir,
 div, dl, dt, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hr,
-html, layer, legend, listing, menu, multicol, nav, ol, p, plaintext,
-pre, rp, section, ul, xmp { display: block; }
+html, layer, legend, listing, menu, nav, ol, p, plaintext, pre, rp,
+section, ul, xmp { display: block; }
 
 table { display: table; }
 caption { display: table-caption; }
@@ -61497,8 +61888,8 @@
 h5 { margin-top: 1.67em; margin-bottom; 1.67em; }
 h6 { margin-top: 2.33em; margin-bottom; 2.33em; }
 
-dd { margin-left: 40px; } /* margin-right, for rtl elements */
-dir, menu, ol, ul { padding-left: 40px; } /* padding-right, for rtl elements */
+dd { margin-left: 40px; } /* <span>LTR-specific</span>: use 'margin-right' for rtl elements */
+dir, menu, ol, ul { padding-left: 40px; } /* <span>LTR-specific</span>: use 'padding-right' for rtl elements */
 blockquote, figure { margin-left: 40px; margin-right: 40px; }
 
 table { border-spacing: 2px; border-collapse: separate; }
@@ -61690,7 +62081,7 @@
 tr, td, th { vertical-align: inherit; }
 sub { vertical-align: sub; }
 sup { vertical-align: super; }
-th, figure > legend { text-align: center; }</pre>
+th { text-align: center; }</pre>
 
   <hr>
 
@@ -61892,7 +62283,7 @@
            but it's still not optimal... -->
   <pre class="css">@namespace url(http://www.w3.org/1999/xhtml);
 
-<var title="">x</var> h1 { font-size: 1.05em; }
+<var title="">x</var> h1 { font-size: 1.50em; }
 <var title="">x</var> <var title="">x</var> h1 { font-size: 1.17em; }
 <var title="">x</var> <var title="">x</var> <var title="">x</var> h1 { font-size: 1.00em; }
 <var title="">x</var> <var title="">x</var> <var title="">x</var> <var title="">x</var> h1 { font-size: 0.83em; }
@@ -62035,35 +62426,13 @@
 
    <li> 
 
-    <p>If <var title="">mode</var> is not <i>absolute</i>, run these
-    substeps:</p>
+    <!-- basefont support would go here, but we removed it -->
 
-    <ol>
+    <p>If <var title="">mode</var> is is <i>relative-plus</i>, then
+    increment <var title="">value</var> by 3. If <var
+    title="">mode</var> is is <i>relative-minus</i>, then decrement
+    <var title="">value</var> by 3.</p>
 
-     <li><p>Let <var title="">base</var> be 3.</p></li>
-
-     <li><p>Let <var title="">base element</var> be the the last
-     <code>basefont</code> element in <span>tree order</span> that is
-     before the <code>font</code> element, if there is one.</p></li>
-
-     <li><p>If there is a <var title="">base element</var>, and it has
-     a <code title="attr-basefont-size">size</code> attribute, then
-     apply the <span>rules for parsing non-negative integers</span> to
-     that attribute's value.</p></li>
-
-     <li><p>If <var title="">base</var> is greater than 7, let it be
-     7.</p></li>
-
-     <li><p>If <var title="">base</var> is less than 1, let it be
-     1.</p></li>
-
-     <li><p>If <var title="">mode</var> is <i>relative-plus</i>, then
-     increment <var title="">value</var> by <var
-     title="">base</var>. Otherwise, decrement <var
-     title="">value</var> by <var title="">base</var>.</p></li>
-
-    </ol>
-
    </li>
 
    <li><p>If <var title="">value</var> is greater than 7, let it be
@@ -62221,7 +62590,7 @@
 
 table[frames=void] > tr > td, table[frames=void] > tr > th,
 table[frames=above] > tr > td, table[frames=above] > tr > th,
-table[frames=below] > > tr > td, table[frames=below] > tr > th,
+table[frames=below] > tr > td, table[frames=below] > tr > th,
 table[frames=hsides] > tr > td, table[frames=hsides] > tr > th,
 table[frames=lhs] > tr > td, table[frames=lhs] > tr > th,
 table[frames=rhs] > tr > td, table[frames=rhs] > tr > th,
@@ -62992,7 +63361,7 @@
   <p>When the <i title="">input-button</i> binding applies to an
   <code>input</code> element whose <code
   title="attr-input-type">type</code> attribute is in the <span
-  title="attr-input-type-submit">Submit Button</span> <span
+  title="attr-input-type-submit">Submit Button</span>, <span
   title="attr-input-type-reset">Reset Button</span>, or <span
   title="attr-input-type-button">Button</span> state, the element is
   expected to render as an 'inline-block' box rendered as a button,
@@ -63230,14 +63599,14 @@
     <p>Invoke the algorithm defined below to <span>convert a list of
     dimensions to a list of pixel values</span> using <var
     title="">cols</var> as the input list, and the width of the
-    surface that the <code>fieldset</code> is being rendered into, in
+    surface that the <code>frameset</code> is being rendered into, in
     CSS pixels, as the input dimension. Let <var title="">sized
     cols</var> be the resulting list.</p>
 
     <p>Invoke the algorithm defined below to <span>convert a list of
     dimensions to a list of pixel values</span> using <var
     title="">rows</var> as the input list, and the height of the
-    surface that the <code>fieldset</code> is being rendered into, in
+    surface that the <code>frameset</code> is being rendered into, in
     CSS pixels, as the input dimension. Let <var title="">sized
     rows</var> be the resulting list.</p>
 
@@ -63594,8 +63963,6 @@
   are case-insensitive, as well as saying which attribute values must
   be compared case-insensitively.</p>
 
-  <p class="XXX">which pseudo-class selectors match what</p>
-
   <!-- XXX
 
     Extensions to CSS
@@ -63605,13 +63972,8 @@
 
   -->
 
-  <!-- XXX need to separate the author-level rules from the user-agent-level rules
-       so that the user-level rules can slide between them
-       the spec lists the attributes that should count as presentational:
-       http://www.w3.org/Style/Group/css2-src/cascade.html#preshint -->
 
 
-
   <h2>Obsolete features</h2>
 
   <p>Authors and documents must not use the features listed in this




More information about the Commit-Watchers mailing list