The current specified behavior in CSSOM re pseudo-elements is a bit vague: https://drafts.csswg.org/cssom/#extensions-to-the-window-interface
If pseudoElt is provided, is not the empty string, and starts with a colon, then:
- Parse pseudoElt as a
<pseudo-element-selector>, and let type be the result.
- If type is failure, or is an ::slotted() or ::part() pseudo-element, let obj be null.
- Otherwise let obj be the given pseudo-element of elt.
We should clarify what this mean for view-transition pseudo-elements?
- what happens when there is no active transition
- what happens with wildcards/classes
Current chromium implementation gives an actual value for pseudos with names but no *, and regardless of whether the transition is active. This seems a bit coincidental.