Open Bug 1654910 Opened 4 years ago Updated 4 years ago

Fix viewport behavior with "user-scalable=no" and re-enable test start-edge-in-block-layout-direction.html.

Categories

(Core :: Panning and Zooming, defect, P3)

defect

Tracking

()

People

(Reporter: bradwerth, Unassigned)

References

Details

Bug 1648344 improves our overall viewport compatibility relative to Chrome, but causes wpt start-edge-in-block-layout-direction.html to fail on GeckoView. We have some kind of misbehavior for "user-scalable:no" viewports that is non-trivial.

"user-scalable=no" was added to that test fairly recently in Bug 1648796.

See Also: → 1648796

Brad, is this something you're looking into?

Severity: -- → S3
Flags: needinfo?(bwerth)
Priority: -- → P3

(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #2)

Brad, is this something you're looking into?

No, not yet. I'd be happy to see this get taken up by someone on the graphics team. If I make time for it, I'll claim the Bug.

Flags: needinfo?(bwerth)

I agree with what Hiro said in the other bug. I think the test needs to load unscaled to be valid, and if Chrome doesn't test WPTs on mobile then we should be free to fiddle with the meta viewport tag as needed to make it work. So doing initial-scale=1 or minimum-scale=1 should be fine. The reason I added user-scalable=no in that test was also to make sure it loaded unscaled so if we need to remove the user-scalable=no and replace it with something else to ensure that, it's fine by me.

Looks like some more investigation is needed, as the simple patch didn't fix the problem.

You need to log in before you can comment on or make changes to this bug.