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

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 UTC