You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If it is an ASCII case-insensitive match for a pseudo-element that the UA supports, other than ::slotted(), let obj be the given pseudo-element of elt.
This isn't a well-founded operation; there's no way to match a string against a pseudo-element. You need to do a [=CSS/parse=] of the string (clarifying that CSS syntax in general is supported; otherwise you have to define bespoke parsing) as a <<pseudo-element-selector>>, and then have it represent the corresponding pseudo-element that would match that selector on the element.
Currently CSSOM says:
This isn't a well-founded operation; there's no way to match a string against a pseudo-element. You need to do a
[=CSS/parse=]
of the string (clarifying that CSS syntax in general is supported; otherwise you have to define bespoke parsing) as a<<pseudo-element-selector>>
, and then have it represent the corresponding pseudo-element that would match that selector on the element.See https://drafts.csswg.org/css-pseudo-4/#window-interface for an example of similar text.
The text was updated successfully, but these errors were encountered: