[Webkit-unassigned] [Bug 123507] `min-width: -webkit-min-content` on fieldset
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 7 12:51:23 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=123507
Ilya (SelenIT) <selenit at mail.by> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |selenit at mail.by
--- Comment #3 from Ilya (SelenIT) <selenit at mail.by> 2014-10-07 12:51:20 PST ---
I believe that `min-width: min-content` emulates the default behavior of fieldset element in most browsers in typical use cases (with no circular dependencies between widths of container and content). It also follows HTML5 specs (https://html.spec.whatwg.org/multipage/rendering.html#the-fieldset-and-legend-elements and http://www.w3.org/html/wg/drafts/html/master/rendering.html#the-fieldset-and-legend-elements) and gives an easy way to change this behavior if necessary by chanaging the `min-width` property. So having `min-width: min-content` itself by default for fieldset is not a bug.
There could be a bug in the implementation of `min-content` algorithm (http://dev.w3.org/csswg/css-box/#min-content) for the case when the width of child element depends on the container width (or the spec changed since the implementation). I didn't test it.
--
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