Closed Bug 1520081 Opened 5 years ago Closed 5 years ago

Use the minimum scale size even if the minimum-scale in viewport meta tag is greater than 1

Categories

(Core :: Layout, defect, P2)

64 Branch
defect

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: hiro, Assigned: hiro)

References

(Depends on 1 open bug)

Details

Attachments

(1 file)

There is a test case that Botond created [1], but the test case doesn't work as expected by simply drop the check in UpdateMinimumScaleSize(), so I am going to handle it in a follow-up bug (this).

[1] https://phabricator.services.mozilla.com//D15347#inline-89264

I've finished writing a patch with a test case. But unfortunately the test case fails intermittently. I need to debug what happens in the failure case.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=cc37c301323a5800ced260076c7faadcbafe888c

It turns out we need to wait for a scroll event of Visual Viewport instead of just waiting for waitUntilApzStable. It's pretty natural. (I didn't notice it) :)

https://treeherder.mozilla.org/#/jobs?repo=try&revision=dec5de102e74abe2c9bcf7ad6e03eae1c2da5bdf

Pushed by hikezoe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8c3a041f077f
Use the minimum scale size even if the minimum-scale in viewport meta tag is greater than 1.0. r=botond
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: