HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
2777A variety of rendering section fixes: hide noscript; indent <dd>; redefine (poorly) how we do alignment; reset text-indent on form controls.2009-02-11 02:54
@@ -61461,20 +61461,24 @@ rt { display: ruby-text; }
   boxes whose 'display' property has the value 'ruby-base'.</p>
 
   <p>User agents that do not support correct ruby rendering are
   expected to render parentheses around the text of <code>rt</code>
   elements in the absence of <code>rp</code> elements.</p>
 
   <p>The <code>br</code> element is expected to render as if its
   contents were a single U+000A LINE FEED (LF) character and its
   'white-space' property was 'pre'.</p>
 
+  <p>The user agent is expected to hide <code>noscript</code> elements
+  for whom <span title="concept-n-noscript">scripting is
+  disabled</span>, irrespective of CSS rules.</p>
+
 
   <h4>Margins and padding</h4>
 
   <pre class="css">@namespace url(http://www.w3.org/1999/xhtml);
 
 article, aside, blockquote, dir, dl, figure, listing, menu, nav, ol,
 p, plaintext, pre, section, ul, xmp {
   margin-top: 1em; margin-bottom: 1em;
 }
 
@@ -61486,22 +61490,22 @@ ul dir, ul dl, ul menu, ul ol, ul ul {
   margin-top: 0; margin-bottom: 0;
 }
 
 h1 { margin-top: 0.67em; margin-bottom; 0.67em; }
 h2 { margin-top: 0.83em; margin-bottom; 0.83em; }
 h3 { margin-top: 1.00em; margin-bottom; 1.00em; }
 h4 { margin-top: 1.33em; margin-bottom; 1.33em; }
 h5 { margin-top: 1.67em; margin-bottom; 1.67em; }
 h6 { margin-top: 2.33em; margin-bottom; 2.33em; }
 
-dl > dd { margin-left: 40px; } /* margin-right, for rtl elements */
-dir, menu, ol, ul { padding-left: 40px; } /* margin-right, for rtl elements */
+dd { margin-left: 40px; } /* margin-right, for rtl elements */
+dir, menu, ol, ul { padding-left: 40px; } /* padding-right, for rtl elements */
 blockquote, figure { margin-left: 40px; margin-right: 40px; }
 
 table { border-spacing: 2px; border-collapse: separate; }
 td, th { padding: 1px; }</pre>
 
   <p>For each property in the table below, given a <code>body</code>
   element, the first attribute that exists <span>maps to the pixel
   length property</span> on the <code>body</code> element. If none of
   the attributes for a property are found, or if the value of the
   attribute that was found cannot be parsed successfully, then a
@@ -61736,63 +61740,59 @@ tfoot[valign=baseline], tr[valign=baseline], td[valign=baseline], th[valign=base
   vertial-align: baseline;
 }</pre>
 
   <p>The <code>center</code> element, the <code>caption</code> element
   unless specified otherwise below, and the <code>div</code> element
   when its <code title="attr-div-align">align</code> attribute's value
   is an <span>ASCII case-insensitive</span> match for the string
   "<code title="">center</code>", are expected to center text within
   themselves, as if they had their 'text-align' property set to
   'center' in a <span title="presentational hints">presentational
-  hint</span>, and to center blocks and tables within them, as if
-  their descendants had their 'margin-left' and 'margin-right'
-  properties set to 'auto' in <span>presentational hints</span>.</p>
+  hint</span>, and to <span>align descendents</span> to the center.</p>
 
   <p>The <code>div</code>, <code>caption</code>, <code>thead</code>,
   <code>tbody</code>, <code>tfoot</code>, <code>tr</code>,
   <code>td</code>, and <code>th</code> elements, when they have an
   <code title="attr-align">align</code> attribute whose value is an
   <span>ASCII case-insensitive</span> match for the string "<code
   title="">left</code>", are expected to left-align text within
   themselves, as if they had their 'text-align' property set to 'left'
   in a <span title="presentational hints">presentational hint</span>,
-  and to left-align blocks and tables within them, as if their
-  descendants had their 'margin-right' property set to 'auto' in
-  <span>presentational hints</span>.</p>
+  and to <span>align descendents</span> to the left.</p>
 
   <p>The <code>div</code>, <code>caption</code>, <code>thead</code>,
   <code>tbody</code>, <code>tfoot</code>, <code>tr</code>,
   <code>td</code>, and <code>th</code> elements, when they have an
   <code title="attr-align">align</code> attribute whose value is an
   <span>ASCII case-insensitive</span> match for the string "<code
   title="">right</code>", are expected to right-align text within
   themselves, as if they had their 'text-align' property set to
   'right' in a <span title="presentational hints">presentational
-  hint</span>, and to right-align blocks and tables within them, as if
-  their descendants had their 'margin-left' property set to 'auto' in
-  <span>presentational hints</span>.</p>
+  hint</span>, and to <span>align descendents</span> to the right.</p>
 
   <p>The <code>div</code>, <code>caption</code>, <code>thead</code>,
   <code>tbody</code>, <code>tfoot</code>, <code>tr</code>,
   <code>td</code>, and <code>th</code> elements, when they have an
   <code title="attr-align">align</code> attribute whose value is an
   <span>ASCII case-insensitive</span> match for the string "<code
   title="">justify</code>", are expected to full-justify text within
   themselves, as if they had their 'text-align' property set to
   'justify' in a <span title="presentational hints">presentational
-  hint</span>, and to left-align blocks and tables within them, as if
-  their descendants had their 'margin-right' property set to 'auto' in
-  <span>presentational hints</span>.</p>
+  hint</span>, and to <span>align descendents</span> to the left.</p>
 
-  <p>In all these cases, the effect on descendants is expected to only
-  extend to descendants that do not themselves have an applicable
-  <code title="attr-align">align</code> attribute.</p>
+  <p>When a user agent is to <dfn>align descendents</dfn> of a node,
+  the user agent is expected to align only those descendents that have
+  both their 'margin-left' and 'margin-right' properties computing to
+  a value other than 'auto', that are over-constrained and that have
+  one of those two margins with a used value forced to a greater
+  value, and that do not themselves have an applicable <code
+  title="attr-align">align</code> attribute.</p>
 
 
   <h4>Fonts and colors</h4>
 
   <pre class="css">@namespace url(http://www.w3.org/1999/xhtml);
 
 address, cite, dfn, em, i, var { font-style: italic; }
 b, strong, th { font-weight: bold; }
 code, kbd, listing, plaintext, pre, samp, tt, xmp { font-family: monospace; }
 h1 { font-size: 2.00em; font-weight: bold; }
@@ -62311,21 +62311,27 @@ table[rules=all] > tfoot > tr > td, table[rules=all] > tfoot > tr > th {
   instead.</p>
 
 
   <h4>Resetting rules for inherited properties</h4>
 
   <p>The following rules are also expected to be in play, resetting
   certain properties to block inheritance by default.</p>
 
   <pre class="css">@namespace url(http://www.w3.org/1999/xhtml);
 
-table { text-indent: initial; }</pre>
+table, input, select, option, optgroup, button {
+  text-indent: initial;
+}</pre>
+
+  <!-- arguably, the form controls' 'text-indent' lines should be in
+  the sections below instead of here, but that would be far more
+  complicated than this -->
 
   <p>In <span>quirks mode</span>, the following rules are also
   expected to apply:</p>
 
   <pre class="css">@namespace url(http://www.w3.org/1999/xhtml);
 
 table {
   font-weight: initial;
   font-style: initial;
   font-variant: initial;

|