Re: [csswg-drafts] `:predefined` pseudo-class for built-ins (i.e. not custom elements) (#11001)

Something in this area would be a nice win. Whether `el.match(`:not(:predefined)`)` were able to be faster than `!customElements.getName(el)` would be an interesting bake-off.

Small bit of bikeshedding: `:predefined` feels "time relative" to `:defined`. It also sounds like it leans closer to the needs outlined in https://github.com/whatwg/html/issues/6231 when you say it to many times.

-- 
GitHub Notification of comment by Westbrook
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11001#issuecomment-2452625315 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 1 November 2024 21:37:17 UTC