Skip to content

Commit 88f8b79

Browse files
committed
[css-transitions-2] Make CSS transitions that are not tied to markup target the animations level of the cascade
Fixes w3c#2049.
1 parent c8ce0f4 commit 88f8b79

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

css-transitions-2/Overview.bs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,17 @@ Note, this behavior relies on the fact that disassociating a transition
171171
from its <a>owning element</a> always causes it to enter (or remain) in the
172172
<a>idle play state</a>.
173173

174+
## Animation cascade level ## {#cascade-level}
175+
176+
Animations with an [=animation class=] of &lsquo;CSS Transition&rsquo;
177+
that have an [=owning element=]
178+
are applied to the &lsquo;Transitions declaration&rsquo; level
179+
of the CSS cascade.
180+
All other animations generated by the markup defined in this specification,
181+
including animations that no longer have an [=owning element=],
182+
are applied to the &lsquo;Animation declarations&rsquo; level of the cascade.
183+
(See [[web-animations-1#applying-the-composited-result]].)
184+
174185
# Transition Events # {#transition-events}
175186

176187
## Event dispatch ## {#event-dispatch}

0 commit comments

Comments
 (0)