- From: Miriam Suzanne via GitHub <sysbot+gh@w3.org>
- Date: Thu, 19 Sep 2024 17:44:39 +0000
- To: public-css-archive@w3.org
@PupilTong I'm not saying it would be impossible to have a self-styling feature - that is what `if()` does – but that it can't be a new selector in a container rule. The `if()` function relies on resolving the value late, and makes properties Invalid at Computed Value Time. That is to say: selection has already finished, the entire cascade has completed, and other values set for the property have been discarded. Any fallback values need to be explicit. It's clear how to do that property-by-property in a function (we already have `var()` as prior art) but it's less clear how that would be handled at a block level. -- GitHub Notification of comment by mirisuzanne Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10744#issuecomment-2361816553 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 19 September 2024 17:44:40 UTC