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)

defect

Tracking

()

Tracking Status
firefox60 --- affected

People

(Reporter: calixte, Unassigned)

References

Details

Attachments

(2 files)

Attached file plop.html
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)
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)
[ Triage 2017/02/20: P3 ]
Priority: -- → P3
Whiteboard: [webcompat]

Migrating Webcompat whiteboard priorities to project flags. See bug 1547409.

Webcompat Priority: --- → ?

See bug 1547409. Migrating whiteboard priority tags to program flags.

Webcompat Priority: ? → P3

Rendering of the test.

Severity: normal → S3

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.

Attachment

General

Created:
Updated:
Size: