Closed Bug 1347052 Opened 7 years ago Closed 7 years ago

set a display port even if we don't have a root scroll frame in MobileViewportManager::UpdateDisplayPortMargins

Categories

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

enhancement

Tracking

()

RESOLVED INVALID
Tracking Status
firefox55 --- affected

People

(Reporter: tnikkel, Assigned: tnikkel)

Details

(Whiteboard: [gfx-noted])

Attachments

(1 file)

As suggested in bug 346109, comment 23
Attached patch patchSplinter Review
Attachment #8846994 - Flags: review?(botond)
(In reply to Timothy Nikkel (:tnikkel) from comment #0)
> As suggested in bug 346109, comment 23

That was meant to be bug 1346109, comment 23.

It wasn't so much a suggestion, as a question: I was asking whether we should / need to do so.

What are the circumstances under which the RSF is null (to help reason about this question)?
Priority: -- → P3
Whiteboard: [gfx-noted]
(In reply to Timothy Nikkel (:tnikkel) from comment #3)
> To answer that question I just look at
> 
> https://dxr.mozilla.org/mozilla-central/rev/
> 6d38ad302429c98115c354d643e81987ecec5d3c/layout/base/nsCSSFrameConstructor.
> cpp#2756
> 
> So XUL and print documents.

Thanks. I don't believe MobileViewportManager is used in either of those scenarios, so there is no need to make this change.
Comment on attachment 8846994 [details] [diff] [review]
patch

Review of attachment 8846994 [details] [diff] [review]:
-----------------------------------------------------------------

Per comment 4.
Attachment #8846994 - Flags: review?(botond) → review-
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: