mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-06 16:19:23 +00:00
LibWeb/CSS: Update UA styling for view-transition pseudo-elements
And also indent the file consistently.
Corresponds to 3d13816af7
This commit is contained in:
parent
8600c5149b
commit
938f27bbe3
Notes:
github-actions[bot]
2025-07-21 13:34:40 +00:00
Author: https://github.com/AtkinsSJ
Commit: 938f27bbe3
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5540
Reviewed-by: https://github.com/gmta ✅
1 changed files with 51 additions and 47 deletions
|
@ -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 */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue