Open Bug 1674023 Opened 4 years ago

Clarify that XUL slider element and nsSliderFrame are only scrollbar related

Categories

(Core :: Layout, task)

task

Tracking

()

People

(Reporter: ntim, Unassigned)

Details

Bug 1448126 removed the last use of slider outside of scrollbars and I think the code inside it probably evolved a lot since that using it outside doesn't make sense anymore.

Anyway, running on about:preferences (or any XHTML privileged page) the following code:

var slider = document.createXULElement("slider");
document.body.append(slider);

creates an element with -moz-default-appearance: scrollbartrack-horizontal;

Maybe it would be nice to rename the frame/element to scrollbartrack? Maybe there is code that can be cleaned up/refactored post bug 1448126?

You need to log in before you can comment on or make changes to this bug.