- From: Ilya Streltsyn via GitHub <sysbot+gh@w3.org>
- Date: Mon, 17 Feb 2020 08:37:55 +0000
- To: public-css-archive@w3.org
> automatically generating table cells:
> ```
>td {
> display: contents;
>}
>td::before {
> content: attr(header);
> display: table-cell;
>}
>...
>
><td header="foo">bar</td>
Maybe it's worth noting that, technically, this example already _kind of_ works due to automatic box tree fixup algorithm of the table layout (with "bar" becoming an anonymous table-cell box next to the table-cell box generated for `::before`). The only thing that is currently impossible (but would become possible with the new proposal) is the direct styling of that cell.
--
GitHub Notification of comment by SelenIT
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2406#issuecomment-586876180 using your GitHub account
Received on Monday, 17 February 2020 08:37:56 UTC