Closed
Bug 980062
Opened 11 years ago
Closed 11 years ago
nsDisplaySubDocument should be passing the enlarged visible rect to RecordFrameMetrics
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
mozilla30
People
(Reporter: tnikkel, Assigned: tnikkel)
References
Details
Attachments
(1 file)
(deleted),
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
Currently nsDisplaySubDocument passes mVisibleRect to RecordFrameMetrics. mVisibleRect, like GetBounds, is the final visible rect after composited the scrolled content and then clipping to the scrollport (ie a subset of the scrollport). But we want the visible rect passed to RecordFrameMetrics to be all of the pre-drawn scrolled content in the displayport, like the other RecordFrameMetrics callers. This value is stored on the visible rect of the enclosed display list (mVisibleRect is the visible rect of the item).
This doesn't actual seem to cause problems, probably because the important part is that the layers that actually contain the pixels for the scrolled content get the expanded visible rect. But at the very least we should be consistent.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8386385 -
Flags: review?(roc)
Attachment #8386385 -
Flags: review?(roc) → review+
Assignee | ||
Comment 2•11 years ago
|
||
Comment 3•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in
before you can comment on or make changes to this bug.
Description
•