Open Bug 1434236 Opened 7 years ago Updated 3 months ago

Caption width set to 100% in a table has the width of the document and not the table width


(Core :: Layout: Tables, defect, P3)




Tracking Status
firefox60 --- affected


(Reporter: calixte, Unassigned)




(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) 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?
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.