hunk.code_window:   return null;
   }
   // Gets the closest ancestor positioned element. Handles some edge cases,
   // such as table ancestors and cross browser bugs.
   export function getOffsetParent(element: Element): Element | Window {
     const window = getWindow(element);
  
hunk.labels: keep keep keep keep keep replace keep keep
hunk.after_edit: export function getOffsetParent(
     element: Element,
     polyfill?: Polyfill
   ): Element | Window {
  
hunk.file_path: packages/dom/src/utils/getOffsetParent.ts
hunk.type: replace
file: name: Unit
  description: Performs unit tests checks
  runs:
    using: composite
    steps:
      - run: npm run build
        shell: sh
      - run: npm -w packages/core test
        shell: sh
      - run: npm -w packages/dom test
        shell: sh
      - run: npm -w packages/react-dom test
        shell: sh
      - run: npm -w packages/react test
        shell: sh
      - run: npm -w packages/vue test
        shell: sh
  