File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1194,6 +1194,7 @@ Additions to the CSS Object Model</h2>
11941194 readonly attribute CSSOMString type;
11951195 readonly attribute Element element;
11961196 readonly attribute (Element or CSSPseudoElement) parent;
1197+ CSSPseudoElement? pseudo(CSSOMString type);
11971198 };
11981199 </pre>
11991200
@@ -1226,6 +1227,13 @@ Additions to the CSS Object Model</h2>
12261227 {{CSSPseudoElement/parent}} will return a {{CSSPseudoElement}}
12271228 while {{CSSPseudoElement/element}} returns an {{Element}} .
12281229
1230+ The <dfn attribute for=CSSPseudoElement>pseudo()</dfn> method
1231+ returns the {{CSSPseudoElement}} interface
1232+ representing the [=sub-pseudo-element=] referenced in its argument,
1233+ if such a [=sub-pseudo-element=] could exist and would be valid,
1234+ and null otherwise.
1235+ See {{Element/pseudo()}} below.
1236+
12291237 Note: This interface may be extended in the future
12301238 to other pseudo-element types
12311239 and/or to allow setting style information
You can’t perform that action at this time.
0 commit comments