-
Notifications
You must be signed in to change notification settings - Fork 707
[css-display] Can run-in be inserted as child of block which establishes an inline formatting context? #1228
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
The latter is clearly the only reasonable interpretation. :) This is going to require some tricky wording fixes, though. :/ |
What about adding the word "block"?
|
There's also flex and grid formatting contexts... so really we need to exclude inline. :) |
But there's related wording that probably also needs fixup, so we need to audit all of it. |
As far as I know the only formatting contexts that can be established by a block box are block and inline ones, so flex and grid ones are already excluded. |
Oh, yeah. :) That would definitely work then. |
If a block box establishes a new formatting context, it can either be a block or an inline one. Run-in sequences should be allowed to be inserted into the block box in the latter case. Fixes w3c#1228
All fixed, thank you! |
CSS Display defines Run-In Layout as
The following example is provided:
However, the
dd
establishes an inline formatting context according to CSS 2.1:So I think that either the example is wrong and the
dt
should not be inserted inside thedd
, or that the definition should allow a run-in sequence to be inserted as direct children of a block box which establishes an inline formatting context.The text was updated successfully, but these errors were encountered: