-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
ResizeObserver.contentRect needs to adjust for non-SVG elements #40107
Copy link
Copy link
Closed
Labels
A-content/domInteracting with the DOM from web contentInteracting with the DOM from web contentI-wrongAn incorrect behaviour is observed.An incorrect behaviour is observed.
Description
Step 7 from https://drafts.csswg.org/resize-observer/#create-and-populate-a-resizeobserverentry says:
If target is not an SVG element ... do these steps:
- Set this.contentRect.top to target.padding top.
- Set this.contentRect.left to target.padding left.
Our implementation is missing that logic.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-content/domInteracting with the DOM from web contentInteracting with the DOM from web contentI-wrongAn incorrect behaviour is observed.An incorrect behaviour is observed.