Definition
CSS Pseudo-Elements Module Level 4 defines CSSPseudoElement
[Exposed=Window]
interface CSSPseudoElement : EventTarget {
readonly attribute CSSOMString type;
readonly attribute Element element;
readonly attribute (Element or CSSPseudoElement) parent;
CSSPseudoElement? pseudo(CSSOMString type);
};
This interface is extended in the following specifications:
- CSSOM View Module
CSSPseudoElement includes GeometryUtils;
Consolidated IDL (across mixin and partials)
[Exposed=Window]
interface CSSPseudoElement : EventTarget {
readonly attribute CSSOMString type;
readonly attribute Element element;
readonly attribute (Element or CSSPseudoElement) parent;
CSSPseudoElement? pseudo(CSSOMString type);
sequence<DOMQuad> getBoxQuads(optional BoxQuadOptions options = {});
DOMQuad convertQuadFromNode(DOMQuadInit quad, GeometryNode from, optional ConvertCoordinateOptions options = {});
DOMQuad convertRectFromNode(DOMRectReadOnly rect, GeometryNode from, optional ConvertCoordinateOptions options = {});
DOMPoint convertPointFromNode(DOMPointInit point, GeometryNode from, optional ConvertCoordinateOptions options = {});
};
Methods and attributes that return objects implementing CSSPseudoElement
Referring IDL interfaces/dictionaries
Referring specifications
- CSSOM View Module refers to
CSSPseudoElement
- Scalable Vector Graphics (SVG) 2 refers to
CSSPseudoElement
- Web Animations Level 2 refers to
CSSPseudoElement