Skip to content

Commit 3d13816

Browse files
committed
[css-view-transitions-1] Inherit more animation properties in the pseudo-element tree
Fixes #11546
1 parent 7716c99 commit 3d13816

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

css-view-transitions-1/Overview.bs

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -873,10 +873,6 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
873873
:root::view-transition-image-pair(*) {
874874
position: absolute;
875875
inset: 0;
876-
877-
animation-duration: inherit;
878-
animation-fill-mode: inherit;
879-
animation-delay: inherit;
880876
}
881877

882878
:root::view-transition-old(*),
@@ -885,11 +881,19 @@ urlPrefix: https://wicg.github.io/navigation-api/; type: interface;
885881
inset-block-start: 0;
886882
inline-size: 100%;
887883
block-size: auto;
884+
}
888885

886+
:root::view-transition-image-pair(*),
887+
:root::view-transition-old(*),
888+
:root::view-transition-new(*) {
889889
animation-duration: inherit;
890890
animation-fill-mode: inherit;
891891
animation-delay: inherit;
892-
}
892+
animation-timing-function: inherit;
893+
animation-iteration-count: inherit;
894+
animation-direction: inherit;
895+
animation-play-state: inherit;
896+
}
893897

894898
/* Default cross-fade transition */
895899
@keyframes -ua-view-transition-fade-out {

0 commit comments

Comments
 (0)