You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.)
The text was updated successfully, but these errors were encountered:
dbaron
changed the title
behavior of percents in max-width/height and width/height on max-content contribution of replaced elements is undefined
[css-sizing] behavior of percents in max-width/height and width/height on max-content contribution of replaced elements is undefined
Aug 14, 2018
IIRC, replaced max-content contributions was supposed to fall into the first bullet point (resolved same as non-replaced, i.e. no special rule about zeroing things out).
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:
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.)
The text was updated successfully, but these errors were encountered: