[csswg-drafts] [css2] paint order of table caption relative to parts of the table should be better defined (#3661)

dbaron has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css2] paint order of table caption relative to parts of the table should be better defined ==
Based on a discussion I just had with @mattwoodrow:

There are some references in the [Stacking Order appendix](https://drafts.csswg.org/css2/zindex.html) to "if the element is a ... table".  It's not clear to me if these references mean to refer to "is a [table grid box](https://drafts.csswg.org/css2/tables.html#model)" or "table wrapper box".  It would be nice and simple if they referred to table grid box, and the table wrapper box were just a regular block that treated its children (captions and table grid) in content order.

However, the problem with that is that the caption's content order might be in the middle of the table grid (though it must be between row groups).  This makes it less clear about how the caption is supposed to be ordered in the paint order relative to pieces of the table.  Having to order the caption in the middle of the table is complicated.

I think this needs to be better defined.  It may also require some testing of existing implementations.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3661 using your GitHub account

Received on Wednesday, 20 February 2019 00:36:05 UTC