#365 allow a footer for a <table>

GREEN
closed-fixed
Martin Holmes
None
5
2012-09-27
2012-06-04
Sebastian Rahtz
No

currently a <table> may have a <head>, but it does not support the idea of a trailer or footer, which is a fairly common facility in table modelling languages.
An example of when its needed comes from EEBO A04863, where the text at the bottom
self-identifies as being part of the table

<table>
<head>The Table of Battallions, reduced out of the grand square of men.</head>
<row>
<cell>1</cell>
<cell>2</cell>
<cell>3</cell>
<cell>4</cell>
</row>
<row>
<cell>841</cell>
<cell>3</cell>
<cell>289 289 256</cell>
<cell>7</cell>
</row>
<trailer>The end of the Table of Battallions reduced out of the battels of g. and squares of men: vpon the right side of euery leafe.</trailer>
</table>

The TCP folks have used <trailer> here, but we could use something else, or define a <foot>

Discussion

  • Martin Holmes
    Martin Holmes
    2012-06-04

    I vote for a new <foot> element to parallel <head> in <table>. I see we're drifting towards the XHTML table model here, though -- do we want to drift slowly as needs arise (like this), or move decisively to implement a parallel model?

     
  • Martin - I'd say move slowly with _structural_ features like this, and go easy on the formatting. But I take the point, its a slippery slope

     
  • James Cummings
    James Cummings
    2012-06-29

    • assigned_to: nobody --> martindholmes
     
  • Lou Burnard
    Lou Burnard
    2012-09-05

    This makes sense if you think of a table as being a sort of <div>, less so, if you think of it as a sort of <p>. The presence of <head> is a strong argument for allowing <trailer> though. If we do go down that route, presumably the same logic would apply to <list>?

     
  • Lou Burnard
    Lou Burnard
    2012-09-05

    • milestone: --> 871209
     
  • Martin Holmes
    Martin Holmes
    2012-09-05

    @Lou: I take your point about <list>, but since nobody's actually asking for a trailer or a footer for lists, I don't think we need to worry about it for the moment. We have real use-cases for a table footer.

     
  • I definitely think of a <table> as div-like, and the presence of table footers is well attested. the only question is whether make a new element or simply allow trailer.

    its true that in some abstract world, a list may have a trailer. but until someone finds one which needs it, lets let the sleeping dog lie.

    I know some people argue we should use <head place="foot"> and put both header and footer at the top. I say that is taking purist theory much too far.

     
  • Martin Holmes
    Martin Holmes
    2012-09-06

    @Sebastian: agreed. Let's use <trailer> instead of defining a new element. That makes TCP integration easier.

     
  • Lou Burnard
    Lou Burnard
    2012-09-15

    Do we want to add just trailer, or wouldn't a reference to model.divBottomPart be better?

     
  • James Cummings
    James Cummings
    2012-09-19

    • milestone: 871209 --> GREEN
     
  • James Cummings
    James Cummings
    2012-09-19

    Council agrees that using model.divBottomPart. (face to face 2012-09)

     
  • Martin Holmes
    Martin Holmes
    2012-09-20

    Initial fix committed rev 10831. If nothing breaks in Jenkins, I'll add examples and tweak the Guidelines text.

     
  • James Cummings
    James Cummings
    2012-09-22

    • status: open --> open-fixed
     
  • Martin Holmes
    Martin Holmes
    2012-09-27

    Example added to FR chapter in rev 10873. If everything looks OK in the Jenkins Documentation build, I'll close this ticket.

     
  • Martin Holmes
    Martin Holmes
    2012-09-27

    • status: open-fixed --> closed-fixed
     
  • Martin Holmes
    Martin Holmes
    2012-09-27

    After various fixes, this is now working as of rev 10876. Closing the ticket.