Enable scrollbar properties by default

RESOLVED FIXED in Firefox 64

Status

()

enhancement
P3
normal
RESOLVED FIXED
7 months ago
3 months ago

People

(Reporter: xidorn, Assigned: xidorn)

Tracking

(Blocks 1 bug, {dev-doc-complete})

Trunk
mozilla64
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox64 fixed)

Details

Attachments

(1 attachment)

Comment hidden (empty)
Is that for Nightly or do you mean to let them ride the trains to release?

Sebastian
Flags: needinfo?(xidorn+moz)
Keywords: dev-doc-needed
(Assignee)

Comment 2

7 months ago
I'm thinking about having it ride the train, but I'd wait for CSSWG to publish it first.
Flags: needinfo?(xidorn+moz)
(Assignee)

Updated

7 months ago
Assignee: nobody → xidorn+moz
Comment on attachment 9012023 [details]
Bug 1492012 - Enable scrollbar-color and scrollbar-width by default. r=heycam

Cameron McCormack (:heycam) has approved the revision.
Attachment #9012023 - Flags: review+

Comment 5

7 months ago
Pushed by xquan@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9ed4cd3adbbb
Enable scrollbar-color and scrollbar-width by default. r=heycam

Comment 6

7 months ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/9ed4cd3adbbb
Status: NEW → RESOLVED
Last Resolved: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Sorry, does this mean Nightly users will be able to change scrollbar's colors and width?
(Assignee)

Comment 8

7 months ago
CSS properties are mainly for websites to customize their user experience, but yes, users can always use those properties in their user stylesheets to customize their own experience as well.
(In reply to Xidorn Quan [:xidorn] UTC+10 from comment #8)
> CSS properties are mainly for websites to customize their user experience,
> but yes, users can always use those properties in their user stylesheets to
> customize their own experience as well.

Sure, thank you so much for answering me so quickly!

Comment 10

7 months ago
Love this feature! Firefox Nightly seems to only support keywords. Will you also support length as a value?
(In reply to oliverwilliams345 from comment #10)
> Love this feature! Firefox Nightly seems to only support keywords. Will you
> also support length as a value?

That was the initial approach, but other CSSWG members opposed, so the resolution ended up being allowing only keywords.
(Assignee)

Comment 12

7 months ago
No, it's not very likely that scrollbar-width will support accepting length, and that will probably be removed from the spec soon. Operating system vendors expressed strongly against doing that.

Comment 13

7 months ago
Thanks for clarifying! `thin` looks nice and I don't think there's a pressing need for a specified width. Looks like rgba values ignore the alpha value in Firefox Nightly. Is that intentional?
(Assignee)

Comment 14

7 months ago
I'm fixing that in bug 1494607 (and another bug for macOS to come). Ignoring that was easier to implement and I didn't think that matters a lot, but it seems people do have some expectation for that, so I'm trying to fix it now.

Comment 15

7 months ago
Thanks Xidorn :)
Rachel Andrew already documented this spec.

I've finished it off by making sure compat data is up-to-date for both:
https://github.com/mdn/browser-compat-data/pull/3063

And adding a note to the Fx64 rel notes:
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/64#CSS
Depends on: 1514498
You need to log in before you can comment on or make changes to this bug.