[css-animations-2] Scoping keyframe names between UA and developer styles. · Issue #7560 · w3c/csswg-drafts (original) (raw)

Currently there is no way to scope keyframe names declared in styles in user-agent origin vs author rules. For example, consider the following declaration in a user agent stylesheet, used here

@keyframes page-transition-fade-in { from { opacity: 0; } }

::page-transition-incoming-image { animation: page-transition-fade-in 0.25s both; } }

This has 2 problems:

We need a way to scope keyframe names between styles in the user-agent origin vs author styles. A couple of options are:

@flackr @vmpstr @jakearchibald