Skip to content

Conversation

@Loirooriol
Copy link
Contributor

@Loirooriol Loirooriol commented Apr 5, 2017

The current text was copied from CSS2.1, but nowadays there are block containers which do not participate in a BFC other than table-cell and inline-block, e.g. flex items and grid items.

This is a minor fix, I think the whole algorithm should be replaced with something like #1158.

This text was copied from CSS2.1, but nowadays there are block containers which do not participate in a BFC other than table-cell and inline-block, e.g. flex items and grid items.
@Loirooriol
Copy link
Contributor Author

Maybe table captions should also be excluded (#1192).

@Loirooriol
Copy link
Contributor Author

An alternative wording would be

The first line of a block container that is not block box
cannot be the first formatted line of an ancestor element.

@fantasai
Copy link
Collaborator

I think this is mostly correct, but it's not clear what happens with multicol. Partly this is because in the past multicol was considered a special type of block container, and right now it's not entirely clear--so we should call it out explicitly.

@fantasai fantasai closed this in 7138498 Dec 31, 2020
@fantasai
Copy link
Collaborator

@Loirooriol Wasn't able to easily resolve the conflicts, so I just generated a new fix. Basically the same wording, except I also added a parenthetical to handle table captions. Gonna close this PR.

@Loirooriol Loirooriol deleted the patch-1 branch December 31, 2020 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

css-pseudo-4 Current Work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants