File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1829,6 +1829,12 @@ Additions to the CSS Object Model</h2>
1829
1829
(The UA may drop or regenerate the object for convenience or performance
1830
1830
if this is not observable.)
1831
1831
1832
+ Note: {{CSSPseudoElement}} is returned even when this method is invoked on elements
1833
+ that can't have the requested pseudo type (e.g. ''::before'' on <{input}> ).
1834
+ See <a href="https://github.com/w3c/csswg-drafts/issues/12159#issuecomment-3005238286">resolution</a> for more details.
1835
+ Discussion in <a href="https://github.com/w3c/csswg-drafts/issues/12158">Issue 12158</a> will clarify how to
1836
+ determine that the requested pseudo doesn't really "exist".
1837
+
1832
1838
ISSUE: The identity, lifetime, and nullness of the return value
1833
1839
(and potential error cases)
1834
1840
of the {{pseudo()}} method is still under discussion.
You can’t perform that action at this time.
0 commit comments