Re: [csswg-drafts] [css-contain-1] maybe 'contain-size' shouldn't apply to display:table-caption?

Leaving out table-caption was intentional, as it is a block box, and as far as I can tell does not have any special rule that would make applying `contain:size` unusually hard.

CSS2.1 claims:

> The caption boxes are block-level boxes that retain their own content, padding, margin, and border areas, and are rendered as normal block boxes inside the table wrapper box

Is it more special than the spec(s) lead me to believe? Setting an explicit width and height on a table caption, including setting them to smaller than the content and to 0, works just fine as it would on any block box, so I think we're good, but maybe I'm missing something.

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2952#issuecomment-408027316 using your GitHub account

Received on Thursday, 26 July 2018 08:56:10 UTC