LibWeb/CSS: Update UA styling for view-transition pseudo-elements

And also indent the file consistently.

Corresponds to 3d13816af7
This commit is contained in:
Sam Atkins 2025-07-21 11:01:36 +01:00 committed by Jelle Raaijmakers
commit 938f27bbe3
Notes: github-actions[bot] 2025-07-21 13:34:40 +00:00

View file

@ -911,10 +911,6 @@ button, meter, progress, select {
:root::view-transition-image-pair(*) { :root::view-transition-image-pair(*) {
position: absolute; position: absolute;
inset: 0; inset: 0;
animation-duration: inherit;
animation-fill-mode: inherit;
animation-delay: inherit;
} }
:root::view-transition-old(*), :root::view-transition-old(*),
@ -923,10 +919,18 @@ button, meter, progress, select {
inset-block-start: 0; inset-block-start: 0;
inline-size: 100%; inline-size: 100%;
block-size: auto; block-size: auto;
}
:root::view-transition-image-pair(*),
:root::view-transition-old(*),
:root::view-transition-new(*) {
animation-duration: inherit; animation-duration: inherit;
animation-fill-mode: inherit; animation-fill-mode: inherit;
animation-delay: inherit; animation-delay: inherit;
animation-timing-function: inherit;
animation-iteration-count: inherit;
animation-direction: inherit;
animation-play-state: inherit;
} }
/* Default cross-fade transition */ /* Default cross-fade transition */