Closed Bug 854469 Opened 11 years ago Closed 11 years ago

Sliders are visually messed up when native <input type=range> is enabled

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:hd+, b2g-v1.1hd fixed)

VERIFIED FIXED
blocking-b2g hd+
Tracking Status
b2g-v1.1hd --- fixed

People

(Reporter: jwatt, Assigned: jwatt)

References

Details

(Whiteboard: helix vsd, HD)

Attachments

(2 files)

Even with the fix for bug 854138, the sliders in the Firefox OS Sound and Display settings screens are messed up if the native <input type=range> support is enabled. (This native support is enabled by default in Mozilla v22.)

There are various styling issues that I've been discussing with people via email, but it's probably time to take that discussion to a bug or two.

The sliders I'm talking about here are:

http://telefonicaid.github.com/Gaia-UI-Building-Blocks/index.html#widgets/seekbars/
Blocks: 853808
Depends on: 854492
Attached patch patchSplinter Review
Assignee: nobody → jwatt
Attachment #733870 - Flags: review?(kaze)
I tested this with a master build on a Unagi device, against 1.0.1 on another Unagi device. The rendering of the sliders in the Sound and Display settings screen are virtually identical between the two. The master build is using <input type=range>, the 1.0.1 build is using the <div> and <span> polyfill.
The utils.js changes to add the without_bug344618_polyfill class are not necessary, but I thought it prudent in order to have a visual cue in the markup that would show up in the debugger in case anyone that is unaware of these changes ends up debugging the sliders at some point.
Comment on attachment 733870 [details] [diff] [review]
patch

https://github.com/mozilla-b2g/gaia/commit/7bc54c21c61c2b04c62ed2db061316e68ab2a8a4

Nit: I had to fix two linter issues. Next time, please check your patch with gjslint if you can.
Attachment #733870 - Flags: review?(kaze) → review+
Tested with b2g18 and trunk.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
(In reply to Fabien Cazenave [:kaze] from comment #5)
> Nit: I had to fix two linter issues. Next time, please check your patch with
> gjslint if you can.

Will do, thanks, kaze!
blocking-b2g: --- → hd?
Whiteboard: helix vsd, HD
Does this fix any HD branch-specific issue? 
If not we wont take it for now as HD should align as much as possible with v1-train leo unless it is HD layout/asset specific.

Please renom HD? if this is the case (makes HD look broken), otherwise we'll leave it on master for future releases.
blocking-b2g: hd? → ---
(In reply to Wayne Chang [:wchang] from comment #8)
> Does this fix any HD branch-specific issue? 
> If not we wont take it for now as HD should align as much as possible with
> v1-train leo unless it is HD layout/asset specific.
> 
> Please renom HD? if this is the case (makes HD look broken), otherwise we'll
> leave it on master for future releases.

Sam, you mentioned Pavel needed this bug to land for an HD bug?  Can you let me know if this bug affects HD as well? Thanks!
Flags: needinfo?(sjochimek)
Flags: needinfo?(sjochimek) → needinfo?(epang)
(In reply to Sam Joch [:samjoch] from comment #10)
> Created attachment 793886 [details]
> How v1.1.0hd is affected

Thanks Sam! Wayne, I've renomed fot HD, see the screen Sam added. Thanks!
blocking-b2g: --- → hd?
Flags: needinfo?(epang) → needinfo?(wchang)
blocking-b2g: hd? → hd+
Flags: needinfo?(wchang)
Component: General → Gaia::Settings
(In reply to Eric Pang [:epang] from comment #11)
> (In reply to Sam Joch [:samjoch] from comment #10)
> > Created attachment 793886 [details]
> > How v1.1.0hd is affected
> 
> Thanks Sam! Wayne, I've renomed fot HD, see the screen Sam added. Thanks!

Hey Sam, Wayne has made this HD+ so we can land in HD now. Thanks!
Flags: needinfo?(sjochimek)
Blocks: 802234
[2013/10/21 Helix Testing]
Gaia:     c829a2042594b6c3a4899ee27979799a0f301534
Gecko:    http://hg.mozilla.org/releases/mozilla-b2g18_v1_1_0_hd/rev/f7c657f6d019
BuildID   20131015042201
Version   18.0
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: