Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Viewport Investigation project #41

Closed
jensimmons opened this issue Dec 16, 2021 · 22 comments
Closed

Viewport Investigation project #41

jensimmons opened this issue Dec 16, 2021 · 22 comments
Labels
meta Process and/or repo issues

Comments

@jensimmons
Copy link
Contributor

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?

@karlcow
Copy link

karlcow commented Dec 17, 2021

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.

@jensimmons
Copy link
Contributor Author

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?

@aarongustafson
Copy link

Adding @ststimac to cover Duo.

@rachelandrew
Copy link
Contributor

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

@argyleink
Copy link

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

@jensimmons
Copy link
Contributor Author

jensimmons commented Jan 13, 2022

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.

@jensimmons
Copy link
Contributor Author

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

@AdaRoseCannon
Copy link

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)

@jensimmons
Copy link
Contributor Author

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

@rachelandrew
Copy link
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.

@jensimmons
Copy link
Contributor Author

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.

@ststimac
Copy link

6AM is the earliest I can start.

@karlcow
Copy link

karlcow commented Jan 15, 2022

@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.

@skobes-chromium
Copy link

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.

@karlcow
Copy link

karlcow commented Jan 27, 2022

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.

@jensimmons
Copy link
Contributor Author

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.

@skobes-chromium
Copy link

Waterloo, Canada (eastern time zone)

@foolip
Copy link
Member

foolip commented Mar 31, 2022

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.

@foolip
Copy link
Member

foolip commented May 12, 2022

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

@foolip
Copy link
Member

foolip commented May 25, 2022

@bramus from Google would also like to be involved.

@foolip
Copy link
Member

foolip commented May 25, 2022

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.

@foolip
Copy link
Member

foolip commented Aug 18, 2022

Closing this issue, discussion continues in https://github.com/web-platform-tests/interop-2022-viewport

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta Process and/or repo issues
Projects
None yet
Development

No branches or pull requests

10 participants