-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
It's not another one fallback option like column-count, overflow or clearfix. Spec defines flow-root as display: block + new BFC. And display: block part is missed for now. It allows cases like this:
/* before */
span {
display: flow-root;
}
/* after "clearfix" fallback */
span {
/* if browser doesn't support "flow-root" than "display" will actually have "inline" value, which will mess with pseudo elements */
display: flow-root;
}
span::after {
content: '';
display: table;
clear: both;
}Instead it should be transformed like this:
/* after "clearfix" fallback */
span {
display: block;
display: flow-root;
}
span::after {...}Metadata
Metadata
Assignees
Labels
No labels