Closed Bug 845010 Opened 11 years ago Closed 11 years ago

Provide an API to retrieve the current document's scrollbar size (not only width)

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla22

People

(Reporter: ttaubert, Assigned: ttaubert)

References

Details

(Keywords: dev-doc-needed)

Attachments

(1 file)

Turns out, we need a way to retrieve the current document's scrollbar width AND height for bug 727765 and the like.
I didn't know if modifying the existing API was the right way to go but having to getScrollbarWidth() and getScrollbarHeight() didn't sound too great as well. On the upside, there are no clients for this API, yet and we could probably still uplift this to Aurora.
Attachment #718037 - Flags: review?(roc)
https://hg.mozilla.org/mozilla-central/rev/449530bfce47
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Keywords: dev-doc-needed
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: