- From: Afterlifepro via GitHub <noreply@w3.org>
- Date: Sat, 05 Jul 2025 10:54:10 +0000
- To: public-fxtf-archive@w3.org
> I personally don't think these belong in the DOMRect. > > They don't directly relate to the DOM object itself, or manipulation of it, as the props and methods for all other Geometry nodes do; they relate to the object's relationship with the environment/other DOM objects, so belong at a higher level. From the spec for Geometry: > Objects implementing the [DOMRectReadOnly](https://drafts.fxtf.org/geometry/#domrectreadonly) interface represent a rectangle. As for "props and methods...": there aren't any methods on `DOMRect`, except a static `fromRect`. The only instance methods are on `DOMQuad`, which are for getting the bounds of the quad, and getting a JSON representation of it (which I assume is a legacy holdover). `DOMMatrix` has a lot of instance methods but it's completely different from the other DOM* geometry nodes, as it's for applying transformations; it just happens to be in the same spec document with the same naming convention. Mentioning the current Geometry recommendation, is it worth renaming this one as that document is linked under `geometry-1` on w3c? (<https://www.w3.org/TR/geometry-1/>) -- GitHub Notification of comment by Afterlifepro Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/602#issuecomment-3038765318 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 5 July 2025 10:54:11 UTC