-
Notifications
You must be signed in to change notification settings - Fork 715
[css-display] Should all the inline-foo
and inline foo
forms be distinct?
#1486
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
Comments
Not sure if that is smart or not because it's late but maybe we can divide display in three instead of two: |
Again, that changes existing behavior for |
I agree with @FremyCompany that this should be solved by adding a new subpart to the Then, See the details of my proposal in #1496 and my proposed spec. |
And I've proposed a slightly different way to handle this in #1496, that also preserves the "all |
This is now moot, as we figured out how to keep "inline-block" and "inline flow-root" acting identically. |
In #1246 we are provisionally deciding that
inline-block
andinline flow-root
are syntactically distinct (for a legacy reason), so that they can blockify differently. This means that, in particular, writingdisplay: inline flow-root
and then asking for the computed value will give youinline flow-root
. This no longer matches the other inline-ish values; in pairs likeinline-flex
/inline flex
, they're equivalent, and writing either will get youinline-flex
in the computed value (because it's the shortest version of the value).So the additional question then is whether we're okay with
inline-block
/inline flow-root
being the exception here. There are three options:inline-block
/inline flow-root
the only pair that is distinct in computed value. (Weird exception for legacy reasons.)inline-block
/inline-flow-root
are back to being identical, and both blockify toblock flow
. (This fails to preserve the flow-root-ness ofinline flow-root
, which might be unwanted.)The text was updated successfully, but these errors were encountered: