A standalone edge-to-edge PWA using interactive-widget=resizes-content resizes its layout viewport for the IME, but retains the covered navigation-bar value in env(safe-area-inset-bottom). A fixed composer therefore receives duplicate bottom spacing.
While a RESIZES_CONTENT keyboard is visible, Chromium excludes only the covered navigation bottom edge. Default RESIZES_VISUAL and OVERLAYS_CONTENT retain their navigation safe area.


Install the live page as a PWA before testing. The Expected image is the patched Pixel 6a result. The Diff image marks changed pixels in red; status-bar time also differs between captures.
Debug Chromium APKs built from commit 235bda9a2f16fdccd5c34fea06547477944f8537.
adb install -r ChromePublic-e2e-keyboard-arm64.apk
adb shell am set-debug-app --persistent org.chromium.chrome
adb shell 'printf "%s\n" "_ --enable-features=WebAppShortEdgesCutoutMode" > /data/local/tmp/chrome-command-line'
# Open this URL in Chromium and install it as an app:
https://static.januschka.com/e2e-keyboard/repro.html
python3 analyze_screenshots.py