- From: Lea Verou via GitHub <sysbot+gh@w3.org>
- Date: Mon, 12 Apr 2021 17:58:05 +0000
- To: public-css-archive@w3.org
> That's why `parent(parent(width))` is, while a bit inelegant, somewhat reasonable, because the number of wrappings I might need to do would rarely if ever be >= 4. But such a syntax _would become_ completely untenable at 100, 10, or probably even 5. At worst, that ugliness would serve as a strong hint (code smell) of probably needing to restructure things. Do note that accessing ancestors, if it were to be added, it would be done through some sort of parameter on `parent()`. Nesting calls to `parent()` like this wouldn't work, since the innermost `parent()` would return a token stream, not a property name, which is what `parent()` expects as an argument. -- GitHub Notification of comment by LeaVerou Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2864#issuecomment-818010704 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 12 April 2021 17:58:07 UTC