()
| 1646 | // marker `data-hf-autostamped` distinguishes them; these tests pin both halves. |
| 1647 | describe("applyClipLayout: runtime-stamped clips stay in document flow", () => { |
| 1648 | const makeRoot = () => { |
| 1649 | const root = document.createElement("div"); |
| 1650 | root.setAttribute("data-composition-id", "main"); |
| 1651 | root.setAttribute("data-root", "true"); |
| 1652 | root.setAttribute("data-start", "0"); |
| 1653 | root.setAttribute("data-width", "1920"); |
| 1654 | root.setAttribute("data-height", "1080"); |
| 1655 | document.body.appendChild(root); |
| 1656 | return root; |
| 1657 | }; |
| 1658 | |
| 1659 | // jsdom does no layout, so a static clip can report computed top "auto" or |
| 1660 | // "" inconsistently. Pin the values the anchor gate keys on so the assertion |
no test coverage detected