MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / getComputedStyle

Function getComputedStyle

packages/sdk/src/adapters/iframe.test.ts:657–659  ·  view source on GitHub ↗
(_el: Element)

Source from the content-addressed store, hash-verified

655 // Supply our stub class so `candidate instanceof win.HTMLImageElement` works
656 HTMLImageElement: FakeHTMLImageElement,
657 getComputedStyle(_el: Element) {
658 return { opacity: "1" } as CSSStyleDeclaration;
659 },
660 },
661 } as unknown as HTMLIFrameElement;
662}

Callers 15

_getElementPositionMethod · 0.85
_getConfigFromCSSMethod · 0.85
_getElementPositionMethod · 0.85
_getConfigFromCSSMethod · 0.85
_getElementPositionMethod · 0.85
_getConfigFromCSSMethod · 0.85
_getElementPositionMethod · 0.85
_getConfigFromCSSMethod · 0.85
_getElementPositionMethod · 0.85
_getConfigFromCSSMethod · 0.85
getMaxZIndexFromIframeFunction · 0.85
readStyleOrComputedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected