Open Bug 2026017 Opened 5 months ago Updated 4 days ago

Implement Element.pseudo() to return CSSPseudoElement

Categories

(Core :: DOM: CSS Object Model, enhancement)

enhancement

Tracking

()

People

(Reporter: boris, Unassigned)

References

(Blocks 2 open bugs, )

Details

(Keywords: dev-doc-needed)

It seems we don't have a bug for this API but there are tests related to it. This function, pseudo(), is used to return the element object of a specific pseudo element:

partial interface Element {
  CSSPseudoElement? pseudo(CSSOMString type);
};

Given that we have implemented CSSPseudoElement interface, but no one uses it. This API is the only way to expose CSSPseudoElement per current spec.

Summary: Implement Element.psueo() to return CSSPseudoElement → Implement Element.pseudo() to return CSSPseudoElement
Component: CSS Parsing and Computation → DOM: CSS Object Model
Keywords: dev-doc-needed
Blocks: 2024415
No longer blocks: 2024415
Depends on: 2024415
You need to log in before you can comment on or make changes to this bug.