Files
Miguel Ángel 3f3a38a4b2 fix(engine): prevent page background bleed on system Chrome macOS (#1699)
System Chrome's "new headless" mode on macOS includes window decorations
(title bar + tab strip, ~85px) in the --window-size outer dimension,
making the compositor surface shorter than the viewport set by
page.setViewport(). The bottom gap fills with the page's canvas
background color, producing a visible band in every rendered frame.

Two-pronged fix:
1. Inflate --window-size height by 200px when not using chrome-headless-shell,
   ensuring the content area always exceeds the requested viewport.
2. Set Emulation.setDefaultBackgroundColorOverride to transparent on opaque
   capture sessions (defense-in-depth), so any residual clip-vs-surface
   mismatch produces transparent pixels instead of the page background.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-06-24 13:23:55 +00:00
..
2026-06-24 04:41:56 +00:00
2026-06-24 04:41:56 +00:00
2026-06-24 04:41:56 +00:00
2026-06-24 04:41:56 +00:00
2026-06-24 04:41:56 +00:00
2026-06-24 04:41:56 +00:00
2026-06-16 13:16:09 -04:00
2026-06-24 04:41:56 +00:00
2026-06-24 04:41:56 +00:00