- From: Mason Freed via GitHub <sysbot+gh@w3.org>
- Date: Thu, 14 Sep 2023 16:26:48 +0000
- To: public-css-archive@w3.org
> 1. Make a pseudo-element, and allow it to have full structure after it, like `::selected-option > img {...}`. > 2\. Just make the elements pretend to live under the `selectedoption` element for Selector purposes, without actually cloning them. In both of these cases, what happens when you do `querySelector('::selected-option > img')`? That can't return the `<img>` because it's not real, right? > A `<use>` like system where the selected option uses the same specified styles as the originating element but the computed styles vary based on the new inheritance would be powerful enough for the demos which you presented. Sorry, can you help me understand this proposal? -- GitHub Notification of comment by mfreed7 Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9284#issuecomment-1719771662 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 14 September 2023 16:26:50 UTC