(element: Element)
| 45 | } |
| 46 | |
| 47 | function isAbsolutelyPositioned(element: Element) { |
| 48 | const position = getStyle(element)?.position; |
| 49 | return position === "absolute" || position === "fixed"; |
| 50 | } |
| 51 | |
| 52 | function getLayoutHeight(element: Element): number { |
| 53 | const containerRect = containerRects.get(element); |
no test coverage detected