Closed Bug 1647186 Opened 4 years ago Closed 4 years ago

Consider factoring the pres shell's resolution value in the partial prerender area calculation

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: hiro, Assigned: hiro)

References

Details

Attachments

(2 files)

As Botond said in a review comment, partial pre-render should care the visual viewport region, so I started with a reftest with reftest-resolution (which means a static zoom value).

With the reftest, it turns out in the current implementation we don't expand the pre-render area in cases where "zoom < 1.0" value is applied.

Attaching file is a patch contains a reftest. To see the issue, you need the patch for bug 1646629.

Attachment #9158089 - Attachment is patch: true
Attachment #9158089 - Attachment mime type: application/octet-stream → text/plain
Depends on: 1646629

So that we can reasonably expand the pre-render region on mobile environments.

Assignee: nobody → hikezoe.birchill
Status: NEW → ASSIGNED
Pushed by hikezoe.birchill@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/290c0c7b9864
Apply the cumulative resolution smaller than 1.0 to the root frame size for the partial pre-render. r=botond
Flags: needinfo?(hikezoe.birchill)
Pushed by hikezoe.birchill@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e80da7e54fa6
Apply the cumulative resolution smaller than 1.0 to the root frame size for the partial pre-render. r=botond
Flags: needinfo?(hikezoe.birchill)
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: