What this proves

Deep on the page, .sr-only radios sit under static parents. getComputedStyle.top is a large document used offset (while computedStyleMap still says auto).

Paste-with-styles copies that large px onto the pasted node. If the paste lands inside a position: relative box near the top, those px are re-interpreted relative to that box → the abspos node is pushed past the footer → empty scroll space.

Why the first attempt failed The fixture used position: relative on the source wrapper, so used top ≈ 0, and paste was next to itself (no style diff). Assumptions about baking were right; the fixture wasn’t.

A — Standalone (this page)

  1. Click Inspect APIs on the deep radios — large getComputedStyle.top, computedStyleMap.top = auto.
  2. Click Bake like paste-with-styles (BUG) — clones into the relative paste target and applies the source used insets (same as the editor style diff).
  3. Scroll to the footer — empty space; emptyBelowFooter > 0.
  4. Optional: Strip baked styles — gap goes away.
Click “Inspect APIs” or “Bake…”

B — Visual editor (without PR #1271)

  1. Open this URL in the editor (build without PR #1271 / non-allowlisted account).
  2. Scroll to Photo reveal (COPY THIS) (under the tall fillers — static parents).
  3. Select that whole section → Copy.
  4. Scroll up → click inside Paste target (it is position: relative) → Paste with styles.
  5. DevTools: pasted input.sr-only has large inline top/inset-block.
  6. Scroll past the footer — empty space. Save + Preview should match.

Paste target must be a positioned containing block so the source’s document-scale used top is re-based and sticks out below the footer. Pasting into another static context often just teleports the node mid-page with no gap under the footer.

Paste target (position: relative)

Paste the photo-reveal section inside this card. Relative positioning is required for the empty-below-footer symptom.

Tall filler #1 — pushes the copy source down the document
Tall filler #2 — used static position for abspos radios becomes a large px top

Photo reveal (COPY THIS)

Radios are .sr-only, abspos, no authored top/bottom. Parent is not positioned (like the customer page).

Labels would normally peer-toggle images. For this repro only the hidden radios matter.