[csswg-drafts] [resize-observer] Mangled text for populating ResizeObserverEntry.contentRect? (#7617)

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

== [resize-observer] Mangled text for populating ResizeObserverEntry.contentRect? ==
https://drafts.csswg.org/resize-observer/#create-and-populate-a-resizeobserverentry has this step:

> 6. Set this.[contentRect](https://drafts.csswg.org/resize-observer/#dom-resizeobserverentry-contentrect) to logical this.[contentBoxSize](https://drafts.csswg.org/resize-observer/#dom-resizeobserverentry-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`](https://drafts.fxtf.org/geometry-1/#domrectreadonly).

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


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

Received on Wednesday, 17 August 2022 21:03:02 UTC