[Webkit-unassigned] [Bug 97747] Webkit's flexbox impl resolves "min-width:auto" to the "width" value, if it's set
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 26 18:29:03 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=97747
--- Comment #3 from Daniel Holbert <dholbert at mozilla.com> 2012-09-26 18:29:30 PST ---
Created an attachment (id=165910)
--> (https://bugs.webkit.org/attachment.cgi?id=165910&action=review)
reference case 1
Here's a reference case, with the "width: 1000px" removed.
I'd expect the testcase to render just like this reference case -- the 1000px shouldn't impact the minimum size that we clamp shrinkage at.
Relevant spec text:
# auto
# When used as the value of a flex item's min main size property,
# this keyword indicates a minimum of the min-content size, to help
# ensure that the item is large enough to fit its contents.
#
# It is intended that this will compute to the ‘min-content’ keyword
# when the specification defining it (Writing Modes Appendix D) is
# sufficiently mature.
So "min-width: auto" is supposed to effectively compute to "min-width: min-content".
And when we resolve "min-width: min-content", I believe we're supposed to only use the contents of the block -- the computed value of "width" shouldn't affect the calculation. (If it did, then "width: min-content" would have a circular dependency.)
--
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