Closed klassenjm closed 6 years ago
colspan
cell
This is the USX companion to USFM 3.0 proposal "Support for explicit table cell spanning". See: ubsicap/usfm#12 for detail.
To have confidence that markup expresses the intended table layout accurately, we require an explicit syntax to for column spanning.
Numbers 2:18-24 (final row of table)
<row style="tr"> <cell style="th1" align="start">Tribe</cell> <cell style="th2" align="start">Leader</cell> <cell style="th3" align="start">Number</cell> </row> <row style="tr"> <cell style="tc1" align="start">Ephraim</cell> <cell style="tc2" align="start">Elishama son of Ammihud</cell> <cell style="tc3" align="end">40,500</cell> <row> <row style="tr"> <cell style="tc1" align="start">Manasseh</cell> <cell style="tc2" align="start">Gamaliel son of Pedahzur</cell> <cell style="tc3" align="end">32,200</cell> <row> <row style="tr"> <cell style="tc1" align="start">Benjamin</cell> <cell style="tc2" align="start">Abidan son of Gideoni</cell> <cell style="tc3" align="end">35,400</cell> <row> <row style="tr"> <cell style="tc1" colspan="2" align="end">Total: </cell> <cell style="tcr3" align="end">108,100</cell> </row>
Proposal
colspan
attribute within the tablecell
element.colspan
is an integer, indicating how many columns the current cell should span in a rendered view.This is the USX companion to USFM 3.0 proposal "Support for explicit table cell spanning". See: ubsicap/usfm#12 for detail.
Details
To have confidence that markup expresses the intended table layout accurately, we require an explicit syntax to for column spanning.
Example
Numbers 2:18-24 (final row of table)