[Webkit-unassigned] [Bug 15286] position:absolute causes div width to collapse
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Mar 9 13:31:54 PDT 2008
http://bugs.webkit.org/show_bug.cgi?id=15286
webkit at blaut.biz changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |webkit at blaut.biz
Status|UNCONFIRMED |NEW
Component|Layout and Rendering |Evangelism
Ever Confirmed|0 |1
OS/Version|Windows XP |All
Platform|PC |All
------- Comment #2 from webkit at blaut.biz 2008-03-09 13:31 PDT -------
It isn't a bug. Webkit and Firefox 3 correctly resolves width for position:
absolute using "shrink to fit" method:
"Calculation of the shrink-to-fit width is similar to calculating the width of
a table cell using the automatic table layout algorithm. Roughly: calculate the
preferred width by formatting the content without breaking lines other than
where explicit line breaks occur, and also calculate the preferred minimum
width, e.g., by trying all possible line breaks. [...]
Then the shrink-to-fit width is: min(max(preferred minimum width, available
width), preferred width)."
[http://www.w3.org/TR/CSS21/visudet.html#abs-non-replaced-width]
Confirmed as an evangelism bug.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list