- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Tue, 02 Jun 2020 22:52:41 +0000
- To: public-css-archive@w3.org
Unfortunately, since the position of an element in a wrapping flexbox depends on layout, which depends on CSS properties, these pseudo-classes would be circular; [we can't create pseudo-classes that depend on layout](https://wiki.csswg.org/faq#selectors-that-depend-on-layout). The :nth-col() pseudo is based purely on markup structure; it has no dependence whatsoever on layout or CSS. (So if you, say, use `display:none` on a cell, thus shifting which column other cells belong to in the CSS table model, they'll still match `:nth-col()` according to the original column they'd be in without CSS.) -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5150#issuecomment-637848780 using your GitHub account
Received on Tuesday, 2 June 2020 22:52:43 UTC