Skip to content

Viewport Investigation project  #41

Closed

Description

@jensimmons

As part of #4, we agreed to do a small cross-browser research project into the current state of viewports on mobile devices.

Who would like to be part of this effort?

Activity

  1. karlcow commented on Dec 17, 2021

    @karlcow

    I would love! Mozilla had to do a lot of reverse engineering to understand what was happening on Chrome and Safari. And there is still a lot of bugs which need to be addressed.

  2. jensimmons commented on Jan 5, 2022

    @jensimmons
    ContributorAuthor

    Excellent, @karlcow.

    Is anyone from Microsoft interested? I would love for us to have someone involved to cover the Surface Duo. @aarongustafson @atanassov

    How about anyone from Chrome? @una @argyleink @stubbornella

    Samsung Internet? @AdaRoseCannon

    Our goal:
    To sort out any confusion about what “viewport” means, and what browsers (especially on mobile devices) should be doing with various viewport measurements & sizing. To make recommendations for what should change to improve interoperability.

    Scope of Work:

    • Come up with the actual plan —the group's goal and scope of work. (This is a quick draft.)
    • Make a list of what measurements of the viewport we want to investigate (vh, window.InnerHeight, height: 100%, etc).
    • Make a list of all the places in web standards (CSS, HTML, elsewhere) where viewport sizing is defined, collecting the text & links that define what these measurements are supposed to be.
    • Make a list of which browsers + devices we will be looking into.
    • Create a test page or three — perhaps like this: http://smfr.org/misc/viewport-units.html
    • Create a shared spreadsheet where we can fill in all the data for what we find.
    • Manually test these measurements in these browsers on these devices and fill in the spreadsheet.
    • Write up a report someplace (a deck + PDF? A webpage?) so people can see the information we've gathered — both what viewport measurements should be, and what they currently are.
    • Send copies to the CSSWG & others, whoever, as well as post online of course.
    • Open any issues at CSSWG, WHATWG, wherever if we find underspecified standards on what these measurements should be in relationship to the viewport — so that the appropriate standards group can take it from there & define any missing details.
    • Open any issues/bugs with the appropriate browsers, noting places where they are not aligned with the standard. Or if the standard is unclear, where they are not aligned with each other.
    • Declare victory and leave with a much clearer understanding of the state of viewports.

    That's what I'm imagining. Thoughts? Who else is in?

  3. aarongustafson commented on Jan 5, 2022

    @aarongustafson

    Adding @ststimac to cover Duo.

  4. rachelandrew commented on Jan 6, 2022

    @rachelandrew
    Contributor

    I'd be happy to be involved in this on the Chrome side.

  5. argyleink commented on Jan 6, 2022

    @argyleink

    I can't commit to helping, but I can share some handy links!

  6. jensimmons commented on Jan 13, 2022

    @jensimmons
    ContributorAuthor

    So we have:

    Great. And ah ouch.... the timezones.

    Does a 9am PT / 12noon ET / 5pm UK / 2am JP time work? Karl, I'm not sure what work hours you are used to doing.

    Or this time zone calculator suggests 4pm ET / 1pm PT / 9pm UK / 6am JP.

    Preferences?

    Also, we can aim to have as few meetings as possible, and work asynchronously. But I'd like to start with getting together if it's possible.

  7. jensimmons commented on Jan 13, 2022

    @jensimmons
    ContributorAuthor

    Oh actually I misread the timezone calculator. There are several other times that might work, although they'll be at the very end or beginning of Rachel & Karl's day.

    https://www.timeanddate.com/worldclock/meetingtime.html?month=2&day=1&year=2022&p1=179&p2=234&p3=136&p4=248&iv=0

  8. AdaRoseCannon commented on Jan 13, 2022

    @AdaRoseCannon

    I'd also like to drop in i'm stretched pretty thin right now but it's important issue to stay abreast of (i am also UK)

  9. jensimmons commented on Jan 13, 2022

    @jensimmons
    ContributorAuthor

    Excellent, Ada. I was hoping you could represent Samsung.

  10. rachelandrew commented on Jan 14, 2022

    @rachelandrew
    Contributor

    I can do meetings up to 7pm my time, I don't mind doing the occasional one a bit later but I'm not much use to anyone late in the day as I'm an extreme early person. I'd be more enthusiastic about a meeting at 4am my time than 9pm.

    Given we have the worst timezone spread I think it might be worth trying to do as much as possible async.

  11. jensimmons commented on Jan 14, 2022

    @jensimmons
    ContributorAuthor

    Screen Shot 2022-01-14 at 3 49 18 PM

    It looks like these times are the ones available. (Ignore the "Tues")

    There are really two questions:

    1. How early can you meet @ststimac? 6am? Or even earlier?
    2. How late you can start @karlcow ? 11pm? 12am? 1am? 2am? Perhaps you work late a lot because of timezones.

    10am ET / 7am PT / 3pm UK / 12 midnight JP may be our best time slot.

    And yes, let's plan to do as much as possible async. Or perhaps we'll have a few PT / ET / UK timed meetings — at 12pm ET / 9am PT / 5pm UK / (also 2am JP) — and take good notes for Karl.

  12. ststimac commented on Jan 14, 2022

    @ststimac

    6AM is the earliest I can start.

  13. karlcow commented on Jan 15, 2022

    @karlcow

    @jensimmons Tuesday 11:00pm I already have the webcompat team meetings at this exact same time. And I start the Tuesday at 6am. So I would like to avoid after midnight BUT this is ok for me: "and take good notes for Karl." ❤️. I should not be a blocker if everyone has found the right time for them.

    Thanks for asking.

  14. skobes-chromium commented on Jan 18, 2022

    @skobes-chromium

    Hi, I'd be interested in participating in this project. I have some familiarity with Chrome's implementation in these areas from past work on scrolling issues.

    All of the proposed meeting times are generally ok for me, but +1 to working async as much as possible.

  15. karlcow commented on Jan 27, 2022

    @karlcow

    In general, Mozilla Viewport issues are collected on Bug 1123938 - [meta] Make viewport handling consistent with other browsers

    The meta bug has many more interesting issues

    These are three issues, but there are a bit more related to subtle interactions scenarios. Some sites do resize the width during a load, some sites have specific hacks for positioning their top bar assuming that the URL bar is always at the top, etc. etc. It's a minefield.

    Not sure also if it's in the scope of the project, but there are also implementation issues related to the intersection of print and viewport units for example: vh & vw units are too large (and depend on DPI), in printed / print-previewed documents.

  16. jensimmons commented on Feb 3, 2022

    @jensimmons
    ContributorAuthor

    To update everyone — those of us going to the weekly meetings to plan Interop 2022 are still fairly busy with that work. I plan to kick off this committee once Interop 2022 has been launched (which should happen sometime in February).

    This effort is not forgotten! Just too much to start yet, given all the ongoing debates and coordination required for the larger Interop 2022 effort.

  17. skobes-chromium commented on Feb 3, 2022

    @skobes-chromium

    Waterloo, Canada (eastern time zone)

  18. foolip commented on Mar 31, 2022

    @foolip
    Member

    As requested by @jensimmons, I've created https://github.com/web-platform-tests/interop-2022-viewport with a boilerplate README now. Everyone in the Interop 2022 team has write access, and we can also add additional collaborators who aren't part of that team.

  19. foolip commented on May 12, 2022

    @foolip
    Member

    Discussed in #77. @foolip will volunteer to sort out the logistics of a first meeting, if that would help.

  20. foolip commented on May 25, 2022

    @foolip
    Member

    @bramus from Google would also like to be involved.

  21. foolip commented on May 25, 2022

    @foolip
    Member

    I've scheduled a first meeting based on the input in this issue, and sent web-platform-tests/interop-2022-viewport#2 as an agenda/notes issue.

  22. added
    meta
    on Sep 16, 2022
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

    meta

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions