Re: [csswg-drafts] Formatting a table in css like excel (#7543)

A few problems with your proposal:

1) your syntax is indistinguishable from `tag:pseudo-class`, so that's a non-starter. You'd need some kind of syntax that namespaces your scheme, like a pseudo-class or pseudo-element function. E.g. `:table(x y, x y)`
2) HTML tables are not Excel, there is not a guaranteed regular grid. E.g. rows may have variable numbers of cells, cells may span columns and/or rows, you need to account for that. Do the row/column values go by DOM structure or visual layout (e.g. if a cell is `display: none` is it counted?)
3) Tables on the web can be created with CSS on top of any elements, how does this apply to non-table elements?
4) There's no precedent for Excel-like grid addressing on the web, it would be far more consistent with existing web features to use simple numbered rows and columns (vs numbered rows and lettered columns). The web is the web, we generally don't try to mimic non-web applications.

-- 
GitHub Notification of comment by plinss
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7543#issuecomment-1200096827 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 30 July 2022 05:46:47 UTC