Closed
Bug 1070657
Opened 10 years ago
Closed 10 years ago
Simplify input[type=range] non-native styling
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla35
People
(Reporter: ntim, Assigned: ntim)
References
(Blocks 1 open bug)
Details
Attachments
(3 files, 1 obsolete file)
We should simplify the input[type=range] pseudo elements styling for these reasons :
- Less override needed by web authors
- Prettier styling
Here's the changes I'm suggesting :
- Replace the background-image on ::-moz-range-thumb with a simple background-color color
- Remove the border on ::-moz-range-track
Updated•10 years ago
|
Blocks: input-range
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8492770 -
Flags: review?(dholbert)
Assignee | ||
Updated•10 years ago
|
Attachment #8492770 -
Attachment description: range-forms.patch → Patch v1
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → ntim007
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•10 years ago
|
||
I should have before-after screens after I build Firefox today (gonna take me ~2 hours)
Comment 3•10 years ago
|
||
Comment on attachment 8492770 [details] [diff] [review]
Patch v1
I'll defer to jwatt on this review, since he designed this control, and has thought more about its non-native styling than I have. :)
Attachment #8492770 -
Flags: review?(dholbert) → review?(jwatt)
Comment 4•10 years ago
|
||
(In reply to Tim Nguyen [:ntim] from comment #2)
> I should have before-after screens after I build Firefox today (gonna take
> me ~2 hours)
Tim, were you going to attach those screenshots?
Flags: needinfo?(ntim007)
Comment 6•10 years ago
|
||
Comment on attachment 8492770 [details] [diff] [review]
Patch v1
r+ if you strengthen the border of the thumb. It is too light/thin, I think.
Attachment #8492770 -
Flags: review?(jwatt) → review+
Comment 7•10 years ago
|
||
(I already thought the existing styling of the thumb was a bit faint on a white background for people with poor vision.)
Assignee | ||
Comment 8•10 years ago
|
||
Thanks for the review !
Does this look better ?
Attachment #8493904 -
Flags: feedback?(jwatt)
Comment 9•10 years ago
|
||
Comment on attachment 8493904 [details]
Thumb darker border
That's probably just about good enough. Thanks.
Attachment #8493904 -
Flags: feedback?(jwatt) → feedback+
Assignee | ||
Comment 10•10 years ago
|
||
With color changes.
Attachment #8492770 -
Attachment is obsolete: true
Attachment #8493918 -
Flags: review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 11•10 years ago
|
||
Keywords: checkin-needed
Comment 12•10 years ago
|
||
(looks like "r=dholbert" stuck around in the commit message for the final patch version -- should've been "r=jwatt".
I don't particularly mind, since the patch *does* have r+, and anyone who's curious about the changeset will end up here and see the correct reviewer anyway. But do keep that in your mental checklist when addressing review comments & reuploading patches in the future.)
Assignee | ||
Comment 13•10 years ago
|
||
(In reply to Daniel Holbert [:dholbert] from comment #12)
> (looks like "r=dholbert" stuck around in the commit message for the final
> patch version -- should've been "r=jwatt".
>
> I don't particularly mind, since the patch *does* have r+, and anyone who's
> curious about the changeset will end up here and see the correct reviewer
> anyway. But do keep that in your mental checklist when addressing review
> comments & reuploading patches in the future.)
Ah, sorry, completely forgot I put dholbert here. I'll keep this in mind next time :)
Comment 14•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
You need to log in
before you can comment on or make changes to this bug.
Description
•