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)

defect
Not set
normal

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
Attached patch Patch v1 (obsolete) (deleted) — Splinter Review
Attachment #8492770 - Flags: review?(dholbert)
Attachment #8492770 - Attachment description: range-forms.patch → Patch v1
Assignee: nobody → ntim007
Status: NEW → ASSIGNED
I should have before-after screens after I build Firefox today (gonna take me ~2 hours)
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)
(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)
Attached image Comparison screenshot (deleted) —
Here you go :)
Flags: needinfo?(ntim007)
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+
(I already thought the existing styling of the thumb was a bit faint on a white background for people with poor vision.)
Attached image Thumb darker border (deleted) —
Thanks for the review ! Does this look better ?
Attachment #8493904 - Flags: feedback?(jwatt)
Comment on attachment 8493904 [details] Thumb darker border That's probably just about good enough. Thanks.
Attachment #8493904 - Flags: feedback?(jwatt) → feedback+
Attached patch Patch v1.1 (deleted) — Splinter Review
With color changes.
Attachment #8492770 - Attachment is obsolete: true
Attachment #8493918 - Flags: review+
Keywords: checkin-needed
(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.)
(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 :)
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.

Attachment

General

Created:
Updated:
Size: