Skip to content

[cssom-view] getClientQuads #1543

Description

@jakearchibald

Right now, it's pretty difficult to get the size and position of an element that's undergone rotational transforms.

getClientQuads (on ranges and elements) would return a sequence of DOMQuads representing the shape of the box.

Eg:

screen shot 2017-06-20 at 15 59 06

The green box represents the behaviour of getClientRects, whereas the blue box represents the behaviour of getClientQuads.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions