-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
style::Display
is not according to specifications
#115
Comments
style::Display
Is not according to specificationsstyle::Display
is not according to specifications
Related to #28. |
This property does exist in the specification (https://www.w3.org/TR/css-display-3/#the-display-properties). The specification defines it as:
Where:
This specification does include some cases where you need to specify more than one keyword however those cases are only hit in the case of |
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: