[Webkit-unassigned] [Bug 76553] New: min-width does not work on <table>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 18 09:43:08 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=76553

           Summary: min-width does not work on <table>
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Tables
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mvujovic at adobe.com


Created an attachment (id=122950)
 --> (https://bugs.webkit.org/attachment.cgi?id=122950&action=review)
Reproduction

I'm splitting this bug out from a master bug: Bug 12396 - min-width, max-width do not work on tables.

This bug will focus on the min-width case.
An existing bug already focuses on the max-width case: Bug 12460 - Max-width inheritance doesn't work

Currently, Firefox and Opera support min-width and max-width on the table element. However, IE9 and WebKit do not.

The CSS 2.1 spec states that min-width and max-width are undefined on tables. The exact line is: "In CSS 2.1, the effect of 'min-width' and 'max-width' on tables, inline tables, table cells, table columns, and column groups is undefined".

However, web developers want it, and Firefox and Opera treat min-width and max-width on tables in a consistent way that we can bring to WebKit. For a more detailed discussion, see this thread on the www-style mailing list: http://lists.w3.org/Archives/Public/www-style/2012Jan/0684.html

There is also a related Chromium bug: http://code.google.com/p/chromium/issues/detail?id=50169

In the attached reproduction, the table should be 800px wide because of the min-width property. It is 800px wide in Firefox and Opera, but 200px wide in WebKit.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list