You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.
Because authors manipulate DOM with respect to content size. Content size is well-specified in CSS. "content size like" properties have various quirks, lets use content size directly.
Report observations with content rectangle, whose:
size is content size,
position top is padding-top, left is padding-left
Having content rect position be padding-top/left is useful for absolute positioning of target's children. Absolute position coordinate space origin is topleft of the padding rect.
Original proposal was to observe target's clientHeight. This was inadequate, as explained in #4.
Here is the new proposal:
Having content rect position be padding-top/left is useful for absolute positioning of target's children. Absolute position coordinate space origin is topleft of the padding rect.
The new ResizeObserverEntry IDL would be:
What makes me happy about content rect entry is that all the information needed to position/show/hide children is right there.
The text was updated successfully, but these errors were encountered: