-
Notifications
You must be signed in to change notification settings - Fork 711
[css-display-3] Specify who establishes initial formatting context #6708
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
Yes, that |
@Loirooriol How do we know that the
But, can we say that It may not matter who establishes the initial FC but i think it's better to specify this concern explicitly. |
Yes, it could be more clear. I guess this is basically a duplicate of #6480 |
@Loirooriol So, closing this? |
Duplicate of #6480 |
According to https://www.w3.org/TR/css-display-3/#block-container:
When we have only
div
s inbody
element, does who establishes initial block/inline formatting context? In this case, i didn't apply any properties likedisplay: flow-root
explicitly:Certainly, because the
body
only contains block-level elements, these twodiv
s participate in block formatting context, and thus we can say that thebody
is block container, at least.But the condition which in BFCs are established is as follows( from https://www.w3.org/TR/2011/REC-CSS2-20110607/visuren.html#block-formatting ):
The example i posted above doesn't satisfy any these cases. So, i think that the spec should contain who establish initial formatting context.
The text was updated successfully, but these errors were encountered: