Skip to content

[cssom-view-1] Is GeometryUtils ready for a scoped TAG review? #14932

Backlog

Description

@jogibear9988

Could the CSS Working Group consider requesting a W3C TAG design review of CSSOM View Level 1 §11.1, GeometryUtils? The proposed scope is the four GeometryUtils methods: getBoxQuads(), convertQuadFromNode(), convertRectFromNode(), and convertPointFromNode(), including how they apply to CSSPseudoElement.

These methods let tools such as visual editors and inspection overlays obtain the corners of transformed CSS boxes and map geometry between DOM coordinate spaces. See the explainer and examples and the CSSOM View web-platform-tests.

Examples and polyfill:

Browser automation use case. The Browser Testing and Tools Working Group discussed content quads at TPAC, and James Graham raised the need for a standardized DOM API in CSSWG #10537. WebDriver BiDi issue #787 asks for content quads for transformed elements. Playwright issue #32577 documents the concrete need to click accurately inside transformed elements when using BiDi.

Implementation status:

Question for implementers: Is the current specification complete and precise enough for wider review? Are there gaps or mismatches between the text and your implementation that the group should resolve first? Feedback on fragmented boxes, transformed coordinates, and pseudo-elements would be especially helpful.

Once implementers have had a chance to weigh in, could the chairs record whether the group agrees to request a TAG review scoped to §11.1?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions