[Webkit-unassigned] [Bug 13213] "overflow: hidden" does not correctly overflow for elements with "white-space: nowrap" in tables

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 17 19:29:13 PDT 2010


Maxwell Terpstra <max at terpstra.ca> changed:

           What    |Removed                     |Added
                 CC|                            |max at terpstra.ca

--- Comment #6 from Maxwell Terpstra <max at terpstra.ca>  2010-06-17 19:29:13 PST ---
This is not a bug.

The first part of the test case involves a table using auto layout mode.  In this mode, the width of the table is determined by the width of the cell content.  The width of the cell content must be calculated using a "shrink-to-fit" algorithm, since the normal algorithm depends on the width of the containing block being pre-determined.  The shrink-to-fit algorithm never results in overflow.

The second part of the test case does not use the shrink-to-fit width algorithm.  Instead, its width is determined solely by the width of its containing block (the viewport), irrespective of its content.  The calculated width ends up being less than the intrinsic width of the content, so overflow occurs.

If you want to prevent this kind of "overflow" (actually just width ballooning) in a table, use the fixed table layout mode.

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