You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In classic paper typography, it is not uncommon to encounter content repetition symbols or ditto marks in tables: Often, the local variant of (either opening or closing) double quotation marks is put as the single content of a slot to indicate that it has the same value as the one above. In HTML, one could fill empty <td> accordingly, but usually one would use rowspan in the top-most cell instead, so it spans several slots. Sometimes, this might also be done (with different synbols) for horizontally adjacent cells.
If a style author wanted to turn such a table with cells spanning multiple slots into that classic format with ditto marks, there currently is no solution in CSS (as far as I know). There is also no CSS solution to display the same content into all affected slots, which is something that scripts to sort tables regularly need to do.
I’m not quite sure how to solve this use case and since CSS Tables is kinda the unloved Cinderella module, I won’t expect a solution any time soon, but I still wanted to raise it.
PS: A CSS table slot is different from a shadow tree slot which the ::slotted() pseudo element function refers to.
PPS: Perhaps this requires a CSS representation of column and row spans first.
In classic paper typography, it is not uncommon to encounter content repetition symbols or ditto marks in tables: Often, the local variant of (either opening or closing) double quotation marks is put as the single content of a slot to indicate that it has the same value as the one above. In HTML, one could fill empty
<td>
accordingly, but usually one would userowspan
in the top-most cell instead, so it spans several slots. Sometimes, this might also be done (with different synbols) for horizontally adjacent cells.If a style author wanted to turn such a table with cells spanning multiple slots into that classic format with ditto marks, there currently is no solution in CSS (as far as I know). There is also no CSS solution to display the same content into all affected slots, which is something that scripts to sort tables regularly need to do.
I’m not quite sure how to solve this use case and since CSS Tables is kinda the unloved Cinderella module, I won’t expect a solution any time soon, but I still wanted to raise it.
PS: A CSS table slot is different from a shadow tree slot which the
::slotted()
pseudo element function refers to.PPS: Perhaps this requires a CSS representation of column and row spans first.
The text was updated successfully, but these errors were encountered: