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

noamr has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-view-transitions-2] Auto-generated names leak via animation name ==
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 

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12004 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 25 March 2025 15:14:43 UTC