Skip to content

[css-sizing] Should last remembered size be removed if the element is removed from the document? #7532

@Loirooriol

Description

@Loirooriol

https://drafts.csswg.org/css-sizing-4/#last-remembered

At the time that ResizeObserver events are determined and delivered, if an element has a last remembered size but does not have contain-intrinsic-size: auto, remove its last remembered size.

Note: The last remembered size is state attached to the element, not any particular box generated by the element. So long as the element retains contain-intrinsic-size: auto, it will remember its last remembered size even across changes such as going to/from display: none.

Should the last remembered size survive the removal of the element from the document?

If not, should this be checked "at the time that ResizeObserver events are determined and delivered"? Or should it be removed immediately?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Tuesday

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions