File tree 1 file changed +8
-0
lines changed
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>
1194
1194
readonly attribute CSSOMString type;
1195
1195
readonly attribute Element element;
1196
1196
readonly attribute (Element or CSSPseudoElement) parent;
1197
+ CSSPseudoElement? pseudo(CSSOMString type);
1197
1198
};
1198
1199
</pre>
1199
1200
@@ -1226,6 +1227,13 @@ Additions to the CSS Object Model</h2>
1226
1227
{{CSSPseudoElement/parent}} will return a {{CSSPseudoElement}}
1227
1228
while {{CSSPseudoElement/element}} returns an {{Element}} .
1228
1229
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
+
1229
1237
Note: This interface may be extended in the future
1230
1238
to other pseudo-element types
1231
1239
and/or to allow setting style information
You can’t perform that action at this time.
0 commit comments