Skip to content

[resize-observer] Shouldn't ResizeObserverEntry contain writing-mode values? #5486

Open
@trusktr

Description

@trusktr

Otherwise we must call getComputedStyle on the observed element to get the value. There's otherwise no way to get the writing-mode as far as I know.

The callback's handling code may needs to know whether to use inlineSize as width or as height (and similar with blockSize).

This issue could be avoided if there were verticalSize and horizontalSize values instead of inlineSize and blockSize, so that the vertical and horizontal sizing could be reliable without needing to look for the writing-mode value.

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