Skip to content

Commit

Permalink
[giow] (2) Define <th> centering more accurately.
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9542

git-svn-id: http://svn.whatwg.org/webapps@5464 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 10, 2010
1 parent d7dc6c6 commit e4d5079
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
10 changes: 8 additions & 2 deletions complete.html
Expand Up @@ -84596,8 +84596,7 @@ <h4 id=alignment><span class=secno>14.2.4 </span>Alignment</h4>
thead, tbody, tfoot, table &gt; tr { vertical-align: middle; }
tr, td, th { vertical-align: inherit; }
sub { vertical-align: sub; }
sup { vertical-align: super; }
th { text-align: center; }</pre>
sup { vertical-align: super; }</pre>

<hr><p>The following rules are also expected to apply, as
<a href=#presentational-hints>presentational hints</a>:</p>
Expand Down Expand Up @@ -84699,6 +84698,13 @@ <h4 id=alignment><span class=secno>14.2.4 </span>Alignment</h4>
descendant, the most deeply nested such element is expected to
override the others.</p>

<p>User agents are expected to have a rule in their user agent
stylesheet that matches <code><a href=#the-th-element>th</a></code> elements that have a parent
node whose computed value for the 'text-align' property is its
initial value, whose declaration block consists of just a single
declaration that sets the 'text-align' property to the value
'center'.</p> <!-- q.v. '-moz-center-or-inherit' -->

</div>


Expand Down
10 changes: 8 additions & 2 deletions index
Expand Up @@ -80514,8 +80514,7 @@ form { margin-bottom: 1em; }</pre>
thead, tbody, tfoot, table &gt; tr { vertical-align: middle; }
tr, td, th { vertical-align: inherit; }
sub { vertical-align: sub; }
sup { vertical-align: super; }
th { text-align: center; }</pre>
sup { vertical-align: super; }</pre>

<hr><p>The following rules are also expected to apply, as
<a href=#presentational-hints>presentational hints</a>:</p>
Expand Down Expand Up @@ -80617,6 +80616,13 @@ tr[valign=baseline], td[valign=baseline], th[valign=baseline] { /* <a href=#case
descendant, the most deeply nested such element is expected to
override the others.</p>

<p>User agents are expected to have a rule in their user agent
stylesheet that matches <code><a href=#the-th-element>th</a></code> elements that have a parent
node whose computed value for the 'text-align' property is its
initial value, whose declaration block consists of just a single
declaration that sets the 'text-align' property to the value
'center'.</p> <!-- q.v. '-moz-center-or-inherit' -->

</div>


Expand Down
10 changes: 8 additions & 2 deletions source
Expand Up @@ -96557,8 +96557,7 @@ form { margin-bottom: 1em; }</pre>
thead, tbody, tfoot, table > tr { vertical-align: middle; }
tr, td, th { vertical-align: inherit; }
sub { vertical-align: sub; }
sup { vertical-align: super; }
th { text-align: center; }</pre>
sup { vertical-align: super; }</pre>

<hr>

Expand Down Expand Up @@ -96666,6 +96665,13 @@ tr[valign=baseline], td[valign=baseline], th[valign=baseline] { /* <a href="#cas
descendant, the most deeply nested such element is expected to
override the others.</p>

<p>User agents are expected to have a rule in their user agent
stylesheet that matches <code>th</code> elements that have a parent
node whose computed value for the 'text-align' property is its
initial value, whose declaration block consists of just a single
declaration that sets the 'text-align' property to the value
'center'.</p> <!-- q.v. '-moz-center-or-inherit' -->

</div>


Expand Down

0 comments on commit e4d5079

Please sign in to comment.