Opt-in meta tag for virtual keyboard to affect layout, not just visual viewport #65
Labels
from: Google
Proposed, edited, or co-edited by Google.
topic: device apis
Spec relates to device APIs: access to device-specific hardware, sensors, and interfaces
topic: layout
Spec relates to layout
topic: markup
Spec relates to markup: elements, attributes, etc
venue: W3C CSS WG
Request for position on an emerging web specification
Information about the spec
Design reviews and vendor positions
Anything else we need to know
This isn't really a specification but an attempt to align on interoperable behavior (in a historically underspecified area).
The virtual keyboard on Safari iOS resizes only the visual viewport, without affecting page layout. On Android Chrome and Firefox, the virtual keyboard resizes the initial-containing-block of a page.
This proposal aims to align mobile browsers on the iOS model by default. We cannot do this without breaking some valid use cases so plan to add a new keyword in the viewport meta tag to allow authors to trivially opt back in to the Android "resize-initial-containing-block" mode.
The text was updated successfully, but these errors were encountered: