Expand description
View transition pseudo-elements as selectors over stand-in elements. A rule for
::view-transition-old(card) is rewritten to match an element sk-vt-old[sk-vt-name="card"]
under sk-vt-image-pair, sk-vt-group and sk-vt, whose parent is the document element;
the renderer builds those elements while a transition runs (MatchDom::is_view_transition_pseudo).
Constants§
- ACTIVE_
ATTR - The root’s attribute that
:active-view-transitionreads: the active transition’s types, space-separated (empty when it has none). - NAME_
ATTR - The attribute that carries the transition name on every stand-in but
sk-vt. - TAGS
- The stand-in tags:
::view-transition,-group,-image-pair,-old,-new.
Functions§
- inherit_
animation_ timing - The image pair and images inherit their group’s animation timing in the spec’s UA sheet
(
animation-duration: inherit, …), which the cascade here cannot say: each longhand still at its initial value takes the group’s.