On Fri, Jan 13, 2023 at 11:22:14PM +0000, Gavin Smith wrote: > > Something like it appears to be possible with CSS: > > <table class="multitable" style="table-layout: fixed"> > <tr style="visibility: collapse"> > <td>greater than or equal to 333</td> > <td>notequal 333</td> > <td>relational function</td> > </tr> > <tr><th>Operation</th><th>Symbol</th><th>Type</th></tr> > <tr><td>less than > </td><td><code class="code"><</code></td><td>relational infix</td></tr> > <tr><td>less than or equal to</td><td><code > class="code"><=</code></td><td>relational infix</td></tr> > <tr><td>equality (syntactic)</td><td><code > class="code">=</code></td><td>relational infix</td></tr> > </table> > > although the prototype row was not strictly observed in the testing > I did in Chromium - columns could be wider than needed in the text in > the prototype row, so I am not sure what affect if any the > "table-layout: fixed" setting is having. > > "Table and column widths are set by the widths of table and col > elements or by the width of the first row of cells. Cells in subsequent > rows do not affect column widths." > > https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout > > The "visibility: collapse" setting means the row is invisible and does > not take up any space, but still affects the table layout and column widths.
It seems that the portability of "visibility: collapse" and implementation is not good, and that it would be better to use display: none https://developer.mozilla.org/en-US/docs/Web/CSS/visibility > I doubt this will be much use, anyway, as we want the output to look good > without CSS. I propose to generate that code only if a customization variable is set, named: MULTITABLE_PROTOTYPE_WITH_CSS -- Pat
