Skip to content

[css-view-transitions-2] Copying border shape properties to view-transition-group-children #12357

Open
@vmpstr

Description

@vmpstr

In #11926, we've agreed to add a new view transition pseudo element: view-transition-group-children which copies the border-width property and makes a transparent border. It works well for basic cases:

In Chrome Canary with experimental web platform features enabled:
https://codepen.io/bramus/full/ogNZGyX

However, if the shape of border is sufficiently different then we end up with clipping artifacts:
https://codepen.io/bramus/full/azOaOLJ

Thanks to @bramus for the demos

The proposal here is to copy more! Specifically, border-radius and corner-shape. I'm open to more features, but also would like to leave this open to all border shape affecting properties

/cc @noamr

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions