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

Thanks for liking me the issue. What we want is `node.isCustomElement` to be `true` when it's a web-element. This is differently than having `-` in the `tagName`. Is not the same to have a `-` than to be a web-element. 

The CSS selector, would be nice I guess, but when you are in a hot path, you do not want to query-selector/match anything at all, you just want to know if a given element is a web-element or not.

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


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

Received on Monday, 4 November 2024 18:40:49 UTC