- From: Alan Stearns via GitHub <noreply@w3.org>
- Date: Tue, 05 Aug 2025 21:58:33 +0000
- To: public-css-archive@w3.org
I’m worried about overloading the `name` attribute like this, as it’s not a 1-1 match for how it currently interacts with a matching `slot` attribute (and are there sites in the wild that already use "::backdrop" or whatever other pseudo-element names in slot `name` attributes?). I think I’d want to use a separate attribute on the `<slot>` element or a new element entirely. And I think it’s a bit hacky to require markup changes in order to get script access to your pseudo-elements. But I suppose it might end up being less hacky than whatever compromises we’d have to make in a more direct scripting solution. -- GitHub Notification of comment by astearns Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12575#issuecomment-3156770208 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 5 August 2025 21:58:34 UTC