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

There's a fundamental problem here that ROs are presuming a single rect per element. Elements can fragment and have multiple boxes that can span columns, pages, and (eventually) regions. Each of those boxes can resize independently.

In general I'm not happy with new APIs that continue to bake in conflation of DOM and layout. Ideally this would be based on a box tree API rather than the DOM.

I also wonder if many of the prospective use cases for this wouldn't be better handled with custom layout worklets.

-- 
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-362633185

Received on Friday, 2 February 2018 17:54:21 UTC