Bug 12396 - min-width, max-width do not work on tables.
Summary: min-width, max-width do not work on tables.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 420+
Hardware: Macintosh Intel OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://www.seemysites.net/browser_tes...
Depends on: 76948 12460 76553
  Show dependency treegraph
Reported: 2007-01-24 12:46 PST by Jeremy Nicoll
Modified: 2013-04-03 06:48 PDT (History)
7 users (show)

See Also:

reduced test case (757 bytes, text/html)
2007-01-24 13:54 PST, Sam Weinig
no flags Details
Minimal test case (1.17 KB, application/xhtml+xml)
2010-07-18 15:55 PDT, Evan Chaney
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Nicoll 2007-01-24 12:46:19 PST
The URL that I have attached contains the bare necessities of what I am talking about.  As one resizes the window, each element inside resizes according to the size of the window.  In other words, each element has a width of the percentage of the window.  The exception is that there are two DIVs at the top which are used to measure whether the min and max values are being honored.  You will see that every element except for the table has the min and max values applied correctly.  I did not test on min/max height, but I would assume it would be the same.

I have the latest version of Safari running on 10.4, and I have also downloaded the latest version of Webkit nightly.  Both exhibit this problem.
Comment 1 Sam Weinig 2007-01-24 13:54:43 PST
Created attachment 12649 [details]
reduced test case
Comment 2 David Kilzer (:ddkilzer) 2007-01-29 10:34:21 PST
See also Bug 12460.

Comment 3 mackyle 2010-05-23 21:41:26 PDT
min-width works properly on tables in both Firefox (3.6.3 tested) and Opera (10.53 tested).
Comment 4 Evan Chaney 2010-07-18 15:53:20 PDT
Issue persists on WebKit nightly r63606 (built 7/17/2010) and Safari 5.0 (6533.16) on Mac OS X 10.6.4.
Comment 5 Evan Chaney 2010-07-18 15:55:17 PDT
Created attachment 61916 [details]
Minimal test case
Comment 6 Max Vujovic 2012-01-18 09:45:36 PST
For the min-width case, see Bug 76553 - min-width does not work on <table>
Comment 7 Daniel Trebbien 2013-04-03 06:48:44 PDT