[csswg-drafts] [resize-observer] Why does ResizeObserver not fire on non-replaced inline elements? (#6358)

trusktr has just created a new issue for https://github.com/w3c/csswg-drafts:

== [resize-observer] Why does ResizeObserver not fire on non-replaced inline elements? ==
The [resize-observer spec](https://www.w3.org/TR/resize-observer/#intro) says

> Observations do not fire for non-replaced inline Elements.

I am guessing this is because such elements are split into pieces (rows).

I see that the latest `ResizeObserver` spec allows it to return an array of sizes when content is split across columns. Based on this, it seems feasible to also have it give us an array of the sizes of the pieces of a non-replaced inline element's rows.

Or it could just give us the size of the bounding box, but this would make the use cases more limited, though the limited use cases could still be useful.

Is it simply that nothing has been decided on how to handle multiple pieces of a non-replaced inline element?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6358 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 8 June 2021 02:00:21 UTC