W3C home > Mailing lists > Public > public-css-testsuite@w3.org > May 2010

Re: gtalbot /text-align-007 to 013 need correction

From: Bruno Fassino <fassino@gmail.com>
Date: Thu, 13 May 2010 11:05:53 +0200
Message-ID: <AANLkTinYf7aiMQY6OcwPOmyRyOYMXay9vDx--o5BOLhI@mail.gmail.com>
To: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
On Thu, May 13, 2010 at 9:01 AM, Bruno Fassino <fassino@gmail.com> wrote:
>
> What is interesting here is that some browsers (like Firefox) have
> deliberately chosen to implement the default "text-align: center" for
> th  in a way _not_ equivalent to an UA style, probably for
> compatibility reasons. IE prior to IE7 behaved in that way as well.
> An attempt to mark this behavior as a bug in Gecko has been closed as
> "invalid" (the UA default stylesheet is indeed not "normative").

I forgot to include the link to the Gecko bug, which contains an
interesting discussion about this
  https://bugzilla.mozilla.org/show_bug.cgi?id=559382
(I also meant to say that IE prior to _IE8_ behaved like Firefox).

In short: The IE8 behavior corresponds exactly to having th {
text-align: center } in the default UA sheet; others have chosen
differently, to have something like <table><tr
align=left><th>text</table> working as "expected" (for
compatibility...)


Bruno

-- 
Bruno Fassino http://www.brunildo.org/test
Received on Thursday, 13 May 2010 09:06:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 September 2010 17:52:01 GMT