Closed Bug 1234800 Opened 9 years ago Closed 9 years ago

Bug 1147673 inadvertently removed dirty rect adjustment of fixed-pos frames

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla46
Tracking Status
firefox46 --- fixed

People

(Reporter: mstange, Assigned: mstange)

References

Details

Attachments

(2 files)

I only meant to remove the clip adjustment code, not the code that adjusts dirty rects.
Attached patch attempted testSplinter Review
I tried to write a test for this, but this test passes even before I reinstate the dirty rect adjustment. (It only passes with --e10s --setpref layout.scroll.root-frame-containers=true .)
Assignee: nobody → mstange
Status: NEW → ASSIGNED
Comment on attachment 8701440 [details]
MozReview Request: Bug 1234800 - Move this line to the right place. r?tn

https://reviewboard.mozilla.org/r/28961/#review25749

Thanks!
Attachment #8701440 - Flags: review?(tnikkel) → review+
https://hg.mozilla.org/mozilla-central/rev/e32159281b0c
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
https://reviewboard.mozilla.org/r/28961/#review26683

::: layout/base/nsDisplayList.cpp:750
(Diff revision 1)
>    nsRect dirty = dirtyRectRelativeToDirtyFrame - aFrame->GetOffsetTo(aDirtyFrame);

Welp, this line needs to move down under the if. As it stands, this patch is completely useless.
Comment on attachment 8701440 [details]
MozReview Request: Bug 1234800 - Move this line to the right place. r?tn

Review request updated; see interdiff: https://reviewboard.mozilla.org/r/28961/diff/1-2/
Attachment #8701440 - Attachment description: MozReview Request: Bug 1234800 - Reinstate code that adjusts dirty rects for fixed-position frames in display ports. r?tn → MozReview Request: Bug 1234800 - Move this line to the right place. r?tn
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: