[csswg-drafts] behavior of percents in max-width/height and width/height on max-content contribution of replaced elements is undefined

dbaron has just created a new issue for https://github.com/w3c/csswg-drafts:

== behavior of percents in max-width/height and width/height on max-content contribution of replaced elements is undefined ==
The resolution to #765 (I think; it doesn't link to its commits so I'm not sure the text wasn't introduced elsewhere) defines a bunch of cases in [Percentage sizing](https://drafts.csswg.org/css-sizing-3/#percentage-sizing):

* the first bullet point defines all intrinsic size contributions (min-content and max-content) for non-replaced elements for the max size properties and preferred size properties
* the second bullet point defines the min-content contribution for replaced elements for the max size properties and preferred size properties
* the third bullet point defines all intrinsic size contributions for all elements for the min size properties

Nothing in this section defines the behavior of the max-content contribution for replaced elements for the max size properties and preferred size properties.

(I was trying to finish up my patches to implement that section, and stumbled on this problem.  It turns out that my initial set of patches tried to fix min-content contributions only, but the problem I ran into is that I need to fix max-content contributions to match because our code asserts if the max-content contribution is smaller than the min-content contribution.)

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3018 using your GitHub account

Received on Tuesday, 14 August 2018 22:44:02 UTC