Open Bug 1434236 Opened 6 years ago Updated 1 year ago
Caption width set to 100% in a table has the width of the document and not the table width
The rendering in Chrome and Opera is correct but neither in nightly 60 nor in release 58. :mats, what do you think ?
https://www.w3.org/TR/CSS22/tables.html#model says: "Percentages on 'width' and 'height' on the table are relative to the table wrapper box's containing block, not the table wrapper box itself." Perhaps "on the table" in that sentence should really be "on the table or caption"? The preceding text says that both the caption and the table box should be handled as block-level boxes inside the table wrapper box, so I would assume that percentages should be handled the same. (I can't find any spec text that actually defines percentages on captions explicitly.) There seems to be some confusion about caption layout in the CSSWG though, so who knows? https://github.com/w3c/csswg-drafts/issues/471
[ Triage 2017/02/20: P3 ]
Priority: -- → P3
See Also: → https://webcompat.com/issues/19325
Webcompat Priority: --- → ?
You need to log in before you can comment on or make changes to this bug.