- From: poot <cvsmail@w3.org>
- Date: Wed, 11 Feb 2009 11:57:56 +0900 (JST)
- To: public-html-diffs@w3.org
A variety of rendering section fixes: hide noscript; indent <dd>; redefine (poorly) how we do alignment; reset text-indent on form controls. (whatwg r2777) 10.2.7 Resetting rules for inherited properties http://people.w3.org/mike/diffs/html5/spec/Overview.1.1947.html#resetting-rules-for-inherited-properties align descendents http://people.w3.org/mike/diffs/html5/spec/Overview.1.1947.html#align-descendents 10.2.3 Margins and padding http://people.w3.org/mike/diffs/html5/spec/Overview.1.1947.html#margins-and-padding 10.2.5 Fonts and colors http://people.w3.org/mike/diffs/html5/spec/Overview.1.1947.html#fonts-and-colors 10.2.4 Alignment http://people.w3.org/mike/diffs/html5/spec/Overview.1.1947.html#alignment 10.2.2 Display types http://people.w3.org/mike/diffs/html5/spec/Overview.1.1947.html#display-types http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1946&r2=1.1947&f=h http://html5.org/tools/web-apps-tracker?from=2776&to=2777 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1946 retrieving revision 1.1947 diff -u -d -r1.1946 -r1.1947 --- Overview.html 11 Feb 2009 00:20:56 -0000 1.1946 +++ Overview.html 11 Feb 2009 02:54:52 -0000 1.1947 @@ -46382,7 +46382,9 @@ expected to render parentheses around the text of <code><a href=#the-rt-element>rt</a></code> elements in the absence of <code><a href=#the-rp-element>rp</a></code> elements.<p>The <code><a href=#the-br-element>br</a></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'.<h4 id=margins-and-padding><span class=secno>10.2.3 </span>Margins and padding</h4><pre class=css>@namespace url(http://www.w3.org/1999/xhtml); + 'white-space' property was 'pre'.<p>The user agent is expected to hide <code><a href=#the-noscript-element>noscript</a></code> elements + for whom <a href=#concept-n-noscript title=concept-n-noscript>scripting is + disabled</a>, irrespective of CSS rules.<h4 id=margins-and-padding><span class=secno>10.2.3 </span>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 { @@ -46404,8 +46406,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; } @@ -46554,38 +46556,33 @@ "<code title="">center</code>", are expected to center text within themselves, as if they had their 'text-align' property set to 'center' in a <a href=#presentational-hints title="presentational hints">presentational - hint</a>, and to center blocks and tables within them, as if - their descendants had their 'margin-left' and 'margin-right' - properties set to 'auto' in <a href=#presentational-hints>presentational hints</a>.<p>The <code><a href=#the-div-element>div</a></code>, <code><a href=#the-caption-element>caption</a></code>, <code><a href=#the-thead-element>thead</a></code>, + hint</a>, and to <a href=#align-descendents>align descendents</a> to the center.<p>The <code><a href=#the-div-element>div</a></code>, <code><a href=#the-caption-element>caption</a></code>, <code><a href=#the-thead-element>thead</a></code>, <code><a href=#the-tbody-element>tbody</a></code>, <code><a href=#the-tfoot-element>tfoot</a></code>, <code><a href=#the-tr-element>tr</a></code>, <code><a href=#the-td-element>td</a></code>, and <code><a href=#the-th-element>th</a></code> elements, when they have an <code title=attr-align>align</code> attribute whose value is an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> 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 <a href=#presentational-hints title="presentational hints">presentational hint</a>, - and to left-align blocks and tables within them, as if their - descendants had their 'margin-right' property set to 'auto' in - <a href=#presentational-hints>presentational hints</a>.<p>The <code><a href=#the-div-element>div</a></code>, <code><a href=#the-caption-element>caption</a></code>, <code><a href=#the-thead-element>thead</a></code>, + and to <a href=#align-descendents>align descendents</a> to the left.<p>The <code><a href=#the-div-element>div</a></code>, <code><a href=#the-caption-element>caption</a></code>, <code><a href=#the-thead-element>thead</a></code>, <code><a href=#the-tbody-element>tbody</a></code>, <code><a href=#the-tfoot-element>tfoot</a></code>, <code><a href=#the-tr-element>tr</a></code>, <code><a href=#the-td-element>td</a></code>, and <code><a href=#the-th-element>th</a></code> elements, when they have an <code title=attr-align>align</code> attribute whose value is an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> 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 <a href=#presentational-hints title="presentational hints">presentational - hint</a>, and to right-align blocks and tables within them, as if - their descendants had their 'margin-left' property set to 'auto' in - <a href=#presentational-hints>presentational hints</a>.<p>The <code><a href=#the-div-element>div</a></code>, <code><a href=#the-caption-element>caption</a></code>, <code><a href=#the-thead-element>thead</a></code>, + hint</a>, and to <a href=#align-descendents>align descendents</a> to the right.<p>The <code><a href=#the-div-element>div</a></code>, <code><a href=#the-caption-element>caption</a></code>, <code><a href=#the-thead-element>thead</a></code>, <code><a href=#the-tbody-element>tbody</a></code>, <code><a href=#the-tfoot-element>tfoot</a></code>, <code><a href=#the-tr-element>tr</a></code>, <code><a href=#the-td-element>td</a></code>, and <code><a href=#the-th-element>th</a></code> elements, when they have an <code title=attr-align>align</code> attribute whose value is an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> 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 <a href=#presentational-hints title="presentational hints">presentational - hint</a>, and to left-align blocks and tables within them, as if - their descendants had their 'margin-right' property set to 'auto' in - <a href=#presentational-hints>presentational hints</a>.<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.<h4 id=fonts-and-colors><span class=secno>10.2.5 </span>Fonts and colors</h4><pre class=css>@namespace url(http://www.w3.org/1999/xhtml); + hint</a>, and to <a href=#align-descendents>align descendents</a> to the left.<p>When a user agent is to <dfn id=align-descendents>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.<h4 id=fonts-and-colors><span class=secno>10.2.5 </span>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; } @@ -47015,7 +47012,11 @@ instead.<h4 id=resetting-rules-for-inherited-properties><span class=secno>10.2.7 </span>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.<pre class=css>@namespace url(http://www.w3.org/1999/xhtml); -table { text-indent: initial; }</pre><p>In <a href=#quirks-mode>quirks mode</a>, the following rules are also +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 <a href=#quirks-mode>quirks mode</a>, the following rules are also expected to apply:<pre class=css>@namespace url(http://www.w3.org/1999/xhtml); table {
Received on Wednesday, 11 February 2009 02:58:34 UTC