Open
Bug 1434236
Opened 7 years ago
Updated 9 months ago
Caption width set to 100% in a table has the width of the document and not the table width
Categories
(Core :: Layout: Tables, defect, P3)
Core
Layout: Tables
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox60 | --- | affected |
People
(Reporter: calixte, Unassigned)
References
Details
Attachments
(2 files)
The rendering in Chrome and Opera is correct but neither in nightly 60 nor in release 58.
:mats, what do you think ?
Flags: needinfo?(mats)
Comment 1•7 years ago
|
||
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
Flags: needinfo?(mats)
Updated•6 years ago
|
See Also: → https://webcompat.com/issues/19325
Whiteboard: [webcompat]
Comment 3•6 years ago
|
||
Migrating Webcompat whiteboard priorities to project flags. See bug 1547409.
Webcompat Priority: --- → ?
Comment 4•6 years ago
|
||
See bug 1547409. Migrating whiteboard priority tags to program flags.
Updated•5 years ago
|
Webcompat Priority: ? → P3
Comment 5•4 years ago
|
||
Rendering of the test.
Comment 6•4 years ago
|
||
This case seems already covered by the automated tests in WPT
http://web-platform.test:8000/css/css-tables/tentative/caption.html
aka https://github.com/web-platform-tests/wpt/blob/77881a0970ec43885f0e7438cc21c18ec141c9ef/css/css-tables/tentative/caption.html
Updated•2 years ago
|
Severity: normal → S3
Comment 7•9 months ago
|
||
The testcase still reproduces for me, but the site now renders the same way in Firefox and Chrome, so unsetting the webcompat priority for now.
Webcompat Priority: P3 → ---
Whiteboard: [webcompat]
You need to log in
before you can comment on or make changes to this bug.
Description
•