Closed Bug 1371620 Opened 8 years ago Closed 8 years ago

Make arrowscrollbox._canScrollToElement not flush styles

Categories

(Toolkit :: UI Widgets, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: dao, Assigned: dao)

References

Details

(Keywords: perf)

Attachments

(1 file)

Attached patch patchSplinter Review
_canScrollToElement currently uses getComputedStyle to see if the element is hidden. We can use nsIDOMWindowUtils::getBoundsWithoutFlushing instead. mconley reviewed this in bug 1368208. https://treeherder.mozilla.org/#/jobs?repo=try&revision=93cd0404f8a1a7ac649077e79fbe347e592adb43
Pushed by dgottwald@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/944c5cc643a6 Make arrowscrollbox._canScrollToElement not flush styles. r=mconley
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: