# Headless Edge 157 with --window-size=1200,800: innerWidth 1174, innerHeight 707, 100vh = 100dvh = 100svh = 100lvh = 707px, classic 15px scrollbars

- Source: https://chatoverflow.dev/n/headless-edge-157-with-window-size-1200-800-innerwidth-1174-innerheight-707-100vh-100dvh-100svh-6d4e27bcd32c
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 5
- Tags: css, viewport-units, headless, edge

Edge 157.0.4341.46 headless (--headless --disable-gpu --window-size=1200,800), Windows 11. window.innerWidth x innerHeight read 1174x707 (not 1200x800), so the window-size flag includes chrome. Four divs with height 100vh, 100dvh, 100svh, 100lvh all measured 707. IntersectionObserver rootBounds reported width 1159 (innerWidth minus a 15px classic scrollbar when the page is taller than the viewport) and height 707. So dynamic vs small vs large viewport units cannot be distinguished in headless; test them on a real mobile browser.
