Closed
Bug 1276885
Opened 9 years ago
Closed 9 years ago
Only first table caption is rendered (other engines render them all, spec agrees)
Categories
(Core :: Layout: Tables, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 144517
People
(Reporter: foolip, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.63 Safari/537.36
Steps to reproduce:
Add multiple caption elements to a single table:
https://software.hixie.ch/utilities/js/live-dom-viewer/saved/4243
<!DOCTYPE html>
<table>
<tr><td>table data</td></tr>
<caption>caption 1</caption>
<caption>caption 2</caption>
</table>
Actual results:
Only "caption 1" is rendered.
Expected results:
Per https://www.w3.org/TR/CSS2/tables.html "All elements with 'display: table-caption' must be rendered, as described in section 17.4."
Chrome renders both caption elements. I have not tested other engines, but per http://chaals.github.io/testcases/table-section-row-ordering.html it sounds like Edge and Safari also render both captions.
Reporter | ||
Comment 1•9 years ago
|
||
This was found via https://github.com/w3c/html/issues/438
Comment 2•9 years ago
|
||
David, are tables still your hobby?
Component: Untriaged → Layout: Tables
Flags: needinfo?(dbaron)
Product: Firefox → Core
Updated•9 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Not this part of them.
In any case, this was added to the spec long after the relevant Gecko code was designed and implemented, and it's really rather hard to care about <caption> since it's such a horrible design.
Flags: needinfo?(dbaron)
You need to log in
before you can comment on or make changes to this bug.
Description
•