Skip to content

[css-view-transitions-2] Auto-generated names leak via animation name #12004

@noamr

Description

@noamr

By iterating over all of the document element's running animations and getting their name + pseudo-element, the author can match a pseudo-element to a name.

This is sometimes necessary, as the animation name is the only way to set an animation on a pseudo-element, and view transition pseudo-elements with the same class still have separate generated animations.

I believe that the value in obfuscating the generated view transition names is more trouble than its worth, and doesn't really work.
We should consider undoing the obfuscation and have these strings be explicit implementation-defined unguessable idents that can be used like any view-transition pseudo-element name.

@nt1m @bramus @vmpstr @fantasai

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