Skip to content

[css-view-transitions-1] A lot of the definitions should use ink-overflow rather than border box sizes #12092

Open
@emilio

Description

@emilio

https://drafts.csswg.org/css-view-transitions-1/#capture-old-state-algorithm and so on have sections like:

Set capture’s old transform to a that would map element’s border box from the snapshot containing block origin to its current visual position.

And so on. But the captures capture shadows and so on, so that seems wrong, it should account for the potentially negative offsets that outlines and shadows create. Tests like https://wpt.live/css/css-view-transitions/new-content-ancestor-clipped.html where an element with a shadow gets captured depend on it to get the correct rendering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions