File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
packages/react-dom-bindings/src/client Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -2079,6 +2079,7 @@ export function stopGestureTransition(transition: RunningGestureTransition) {
20792079interface ViewTransitionPseudoElementType extends Animatable {
20802080 _scope : HTMLElement ;
20812081 _selector : string ;
2082+ getComputedStyle ( ) : CSSStyleDeclaration ;
20822083}
20832084
20842085function ViewTransitionPseudoElement (
@@ -2132,6 +2133,14 @@ ViewTransitionPseudoElement.prototype.getAnimations = function (
21322133 }
21332134 return result ;
21342135} ;
2136+ // $FlowFixMe[prop-missing]
2137+ ViewTransitionPseudoElement . prototype . getComputedStyle = function (
2138+ this : ViewTransitionPseudoElementType ,
2139+ ) : CSSStyleDeclaration {
2140+ const scope = this . _scope ;
2141+ const selector = this . _selector ;
2142+ return getComputedStyle ( scope , selector ) ;
2143+ } ;
21352144
21362145export function createViewTransitionInstance (
21372146 name : string ,
You can’t perform that action at this time.
0 commit comments