csswg-drafts icon indicating copy to clipboard operation
csswg-drafts copied to clipboard

[resize-observer] Mangled text for populating ResizeObserverEntry.contentRect?

Open Loirooriol opened this issue 3 years ago • 0 comments

https://drafts.csswg.org/resize-observer/#create-and-populate-a-resizeobserverentry has this step:

  1. Set this.contentRect to logical this.contentBoxSize given target and observedBox of "content-box".

This looks unintelligible to me.

I suspect the «given target and observedBox of "content-box"» was copy-pasted from the previous steps but it shouldn't be here.

And I guess the idea is turning the ResizeObserverSize stored in contentBoxSize into a DOMRectReadOnly.

Loirooriol avatar Aug 17 '22 21:08 Loirooriol