Closed Bug 1514962 Opened 5 years ago Closed 5 years ago

Use nsIFrame::GetPaddingRectRelativeToSelf instead of `GetPaddingRect() - GetPosition()`

Categories

(Core :: Layout, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: hiro, Assigned: hiro)

Details

Attachments

(2 files)

Since nsIFrame::GetPaddingRect() is `GetPaddingRectRelativeToSelf() + GetPosition()`.
Pushed by hikezoe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/21b1d3d86584
Use GetPaddingRectRelativeToSelf() instead of `GetPaddingRect() - GetPosition()`. r=botond
https://hg.mozilla.org/integration/autoland/rev/bfd9d5e58fe0
Use nsDisplayItem::GetPaddingRect(). r=mattwoodrow
https://hg.mozilla.org/mozilla-central/rev/21b1d3d86584
https://hg.mozilla.org/mozilla-central/rev/bfd9d5e58fe0
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: