Skip to content

A lot of the transitions (like in:center:top-right) don't work in non-chromium browsers. #71

@emilio

Description

@emilio

Hi @argyleink!

I was investigating why https://codepen.io/argyleink/pen/NWZZPLZ doesn't work with Firefox's view transition implementation and turns out it's because of the animation:

@keyframes circle-in-top-right {
  from {
    clip-path: circle(0%);
  }
  to {
    clip-path: circle(150% at top right);
  }
}

Those two clip-path values are not interpolable in Firefox and Safari, because the missing <position> in offset-path has a special meaning.

It's not clear whether <basic-shape>s should interpolate differently if they're in an offset-path or a clip-path, that's weird. Will file a spec issue to clarify. But in the meantime using 0% at center rather than just 0% would make this work in WebKit and Gecko.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions