HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/2777

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
Index: source
===================================================================
--- source	(revision 2776)
+++ source	(revision 2777)
@@ -61468,7 +61468,11 @@
   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);
@@ -61493,8 +61497,8 @@
 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; }
@@ -61743,9 +61747,7 @@
   "<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>,
@@ -61755,9 +61757,7 @@
   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>,
@@ -61767,9 +61767,7 @@
   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>,
@@ -61779,13 +61777,15 @@
   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>
@@ -62318,8 +62318,14 @@
 
   <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>
 

|