Re: [w3ctag/design-reviews] Review request for ResizeObserver (#187)

>> I also wonder if many of the prospective use cases for this wouldn't be better handled with custom layout worklets.
>
> Layout worklets can solve the same problem, but would be more complex.

@atotic @plinss I was talking about this with Martin Auswöger this morning and he pointed out that while ResizeObserver callbacks have access to the DOM, layout worklets do not. Many container-query-type use cases for ResizeObserver modify properties of observed elements’ decendants which are not related to layout (e.g., font sizes and colors).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/187#issuecomment-378325445

Received on Tuesday, 3 April 2018 17:10:25 UTC