Anyone have any thoughts on what that could be used for?
Anyone have any thoughts on what that could be used for?
ng-switch in AngularJS, for instance, is going to leave a wrapping tag for the switch declaration.
Undefined or Browser specific. Or just a further explosion of the spec?
If you have nested display:contents things, it just works: you end up with a box and what used to be its great-nephews/nieces in the same flat list is all.
So, yes, this may all be there in the spec. But this is really just making the spec larger and larger with what seems to be nominal, if not decreasing, gains.
The same thing as happens if you just delete the parent element from the source (if we ignore for the moment selector matching and inheritance).
> with what seems to be nominal, if not decreasing, gains.
display:contents was pretty commonly requested by component authors who want their component to fit into a larger layout framework (flex, grid, table) as more than one layout unit. I agree that if you're not trying to author components it's of pretty limited utility.