W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > April 2010

[Bug 9542] New: Recommended rendering for table alignment does not match reality

From: <bugzilla@jessica.w3.org>
Date: Fri, 16 Apr 2010 16:13:27 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-9542-2486@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=9542

           Summary: Recommended rendering for table alignment does not
                    match reality
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec bugs
        AssignedTo: dave.null@w3.org
        ReportedBy: Simetrical+w3cbug@gmail.com
         QAContact: public-html-bugzilla@w3.org
                CC: ian@hixie.ch, mike@w3.org, public-html@w3.org


data URL test case:

data:text/html,<!doctype html>
<table><tr><th>Table 1<tr><td>Longish string to observe centering</table>
<table style=text-align:left><tr><th>Table 2<tr><td>Longish string to observe
centering</table>

According to the expected rendering (as given in the spec) of this markup, the
th should be centered in both cases, because th { text-align: center }
overrides the style given on the parent table.  However, no browser actually
does this except IE8 in standards mode -- which, as usual, tries to follow
standards to the letter even when this reduces interoperability in practice.

I filed bugs against Gecko
<https://bugzilla.mozilla.org/show_bug.cgi?id=559382> and WebKit
<https://bugs.webkit.org/show_bug.cgi?id=37590> suggesting they follow HTML5
here.  I haven't received a response on the WebKit bug yet, but Boris Zbarsky
resolved my Gecko bug INVALID.  I don't think I understand CSS well enough to
understand what he's saying, but he thinks this behavior is undesirable for web
compat.  If he's right, the spec needs to be changed to reflect behavior as
actually implemented.  If he's wrong, you should go talk to him and convince
him of that.  :)

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Friday, 16 April 2010 16:13:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 16 April 2010 16:13:34 GMT