Discussion:
[chromium-discuss] when is “preferred minimum width” greater than the “available width” in CSS layout?
Yuanjie Zhao
2018-08-10 07:13:25 UTC
Permalink
From CSS 2.1 spec,

the shrink-to-fit width is: min(max(preferred minimum width, available
width), preferred width).

When available width <= preferred minimum width <= preferred width, the
used width will be the preferred minimum width.


However, the spec also explains that the preferred minimum width is the
minimal width a box could take that doesn’t lead to content overflowing by
trying all possible line breaks.


Then under what circumstance is "preferred minimum width" greater than the
"available width"? Can someone give an example?
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
Loading...