style::Display
is not according to specifications
#115
Labels
breaking-change
A change that breaks our public interface
bug
Something isn't working
code quality
Make the code cleaner or prettier.
Our current Display-style looks like this
This definition does not actually exist in the specification. As far as I can tell, these are two separate properties:
display-inside
https://www.w3.org/TR/css-display-3/#box-generation
Which defines what layout model to use (flexbox vs css-grid vs flow vs table ++)
display-box
https://www.w3.org/TR/css-display-3/#valdef-display-none
Which defines if the flex-item will generate any boxes at all
I think it makes more sense to define the two different properties according to specifications as two separate enums, to be controlled or improved upon independently
Originally posted by @Weibye in #96 (comment)
The text was updated successfully, but these errors were encountered: