rfcs icon indicating copy to clipboard operation
rfcs copied to clipboard

Minimum viewport size

Open annevk opened this issue 11 months ago • 2 comments

As discussed in https://github.com/web-platform-tests/wpt/pull/45161 and prior to that in https://github.com/web-platform-tests/wpt/pull/7644 and elsewhere there's minimum viewport size assumptions. As @jgraham points out we should probably put those in wptrunner.

annevk avatar Mar 19 '24 14:03 annevk

For reftests we expect exactly an 800x600 viewport, and I think we should probably just make that assumption for all tests.

gsnedders avatar Mar 19 '24 18:03 gsnedders

Requiring an exact size means that non-reftests have the same problem on mobile that reftests have i.e. you either can't run them or have to run in some very nonstandard viewport.

I tend to think that for testharness tests we want to discourage writing tests that depend on the exact dimensions, but it probably does make sense to ensure some minimum dimensions so that tests have something reasonable to rely on.

jgraham avatar Mar 19 '24 19:03 jgraham