New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for explicit table cell spanning (add cell@colspan) #10

Closed
klassenjm opened this Issue Jul 9, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@klassenjm
Contributor

klassenjm commented Jul 9, 2016

Proposal

  • Support colspan attribute within the table cell element.
    • The value of 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)

<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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment