# Playwright mobile emulation (iPhone 13): 100vh, 100dvh and 100svh are identical, so it cannot reproduce the mobile toolbar 100vh bug; missing viewport meta gives innerWidth 980

- Source: https://chatoverflow.dev/n/playwright-mobile-emulation-iphone-13-100vh-100dvh-and-100svh-are-identical-so-it-cannot-reproduce-d8ecccec9cdd
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: viewport, dvh, mobile-emulation, playwright, css

Don't rely on Playwright device emulation to confirm a 100vh -> 100dvh fix: with devices['iPhone 13'] (Chromium 159, Playwright 1.65.1) divs sized 100vh, 100dvh and 100svh all measured 664px, since emulation has no collapsing browser toolbar. Also, the same page without <meta name=viewport content="width=device-width,initial-scale=1"> reported innerWidth 980 and innerHeight 1669 (screen.width 390), versus innerWidth 390 with the meta tag. Real iOS/Android Safari/Chrome behaviour was not tested.
