Skip to content

Viewports #1084

Closed
Closed

Description

@bramus

Description

This is a reprise of this request made for Interop2024 and this request made for Interop2025.

Despite the Viewport Investigation Effort from Interop2022 and the Mobile Testing investigation area from Interop2025, viewport-related features are still not interoperable.

The focus of this proposal targets:

Note: this request excludes the Virtual Keyboard API, which is requested in #1016.

Specification

(see description)

web-feature

No response

Test Links

css-viewport tests: https://wpt.fyi/results/css/css-viewport?label=experimental&label=master&aligned (but those don’t test everything)

There are some basic tests using the units:

But these tests don’t actually test the changes that would occur on mobile. Some of the demos from https://github.com/web-platform-tests/interop-2022-viewport could form the basis for new tests.

Additional Signals

Bugs/Developer Sentiment:

Activity

  1. github-actions commented on Sep 16, 2025

    @github-actions

    This comment was automatically generated based on the information you provided. Please don't edit it.

    Below is additional information about the web features (from the web-features project) which are referenced in your proposal.
    If this doesn't accurately correspond to your proposal, please update your initial comment to include web-features: <feature-id>.
    To find feature IDs, use the web-features explorer.

    getBoxQuads()

    Feature getBoxQuads()

    • ID: getboxquads
    • Name: getBoxQuads()
    • Description: The getBoxQuads() method, when called on a document, element, pseudo-element, or text node, returns the list of DOMQuad objects that represent the CSS boxes used to render the node.
    • Baseline status: Limited Availability
    • More information: See the web-features explorer
    Visual viewport API

    Feature Visual viewport API

  2. emilio commented on Sep 18, 2025

    @emilio

    We really need tests for meta viewport in WPT.

  3. jgraham commented on Sep 19, 2025

    @jgraham
    Contributor

    One of the problems here is that we still lack the infrastructure to test changes to the viewport on mobile e.g. what happens when the virtual keyboard appears, or the URL bar, or other similar changes. That's something we're aware of and have been working on in the mobile-testing-investigation, but it's not going to be done in time for Interop 2026.

    It would be really helpful to have a version of this proposal scoped to just the stuff that is either already covered by web-platform-tests, or which could be covered by web-platform-tests without new testing infrastructure. That would make it much easier to assess what accepting the proposal would actually entail, whilst understanding that it would only represent partial progress on the overall problem.

  4. gsnedders commented on Dec 14, 2025

    @gsnedders
    Member

    To look through the linked issues:

    This is apparently SFSafariViewController specific, which we don't have automated testing of and are unlikely to in the near future.

    This is specific to the app using WKWebView, and the only app using WKWebView we're likely to have testing of in the near future is Safari.

    This is specific to the app using WKWebView, and the only app using WKWebView we're likely to have testing of in the near future is Safari.

    I don't think we're likely to have automated testing of Chrome on iOS soon?

    I don't think we're likely to have automated testing of Firefox on iOS soon?

    I don't think we're likely to have automated testing of Firefox on iOS soon?

    I don't think we're likely to have automated testing of Chrome on iOS soon?

    This is specific to the app using WKWebView, and the only app using WKWebView we're likely to have testing of in the near future is Safari.

    I don't think we're likely to have testing of pinch zoom soon?

    I'll let others comment on that issue, but as far as I'm aware, we believe this is people getting thrown off by some Chrome A/B experiment.

    • Recent reports on social media of Safari 26 on iPadOS and iOS behaving incorrectly (1, 2, 3, 4)

    It's maybe worth re-testing all of these with iOS 26.1, given a lot of viewport bugs got fixed there. Some of them also get into largely unspecified things like meta name=viewport, and reasonable questions about what the viewport size should be with regard to translucent UI elements.

  5. wpt-interop commented on Feb 12, 2026

    @wpt-interop
    Collaborator

    Thank you for proposing Viewports for Interop 2026.

    We want to let you know it was not selected to be part of Interop this year.

    On behalf of the entire Interop team, thank you for submitting it for consideration. We got many more proposals than we could include in this year's project, necessitating some difficult choices. Please note this should not be taken as a comment on the technology as a whole, or our willingness to consider it for Interop in the future. We appreciate the work you put into your proposal, and would welcome your participation in future rounds of Interop.

    Posted on behalf of the Interop team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    focus-area-proposal

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions