Re: [csswg-drafts] [css-display] What owns display types, elements or boxes?

> But then, wouldn't the table box generate another table wrapper box according to https://drafts.csswg.org/css-display-3/#valdef-display-table?

No, table *elements* generate two *boxes*: a table wrapper box and a table box.  The table wrapper box isn't generated as a result of a naked table box being generated (that just never happens), so there's no recursion.

> But run-in also generates an inline-level box

Yes, we need to clarify this point a bit... Fixed in https://github.com/w3c/csswg-drafts/commit/76a59ebbaccf2613ce6af5f1ea4ccfe67e59cb56

> I think elements (and pseudo-elements) should have these characteristics ...
> And boxes should have these characteristics ...

This is a good summary. We are not quite so precise as to have display types only used to describe elements, but being a little handwavy on this point doesn't seem to be an actual problem. The second set of terms are fairly rigorously defined.

Let us know if you still think there's a problem.

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

Received on Tuesday, 11 July 2017 20:56:32 UTC