input type=range element not rendering on Android
Categories
(Core :: Layout: Form Controls, defect, P2)
Tracking
()
People
(Reporter: sysrqb, Assigned: MatsPalmgren_bugz)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [tor 31822])
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
lizzard
:
approval-mozilla-beta+
lizzard
:
approval-mozilla-esr68+
|
Details | Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Steps to reproduce:
Opened MDN page in Firefox for Android or Firefox Preview for input element of type range:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/range
Actual results:
The examples show the current position but not the track
Expected results:
The track and current position should be rendered.
Reporter | ||
Comment 1•5 years ago
|
||
This was probably introduced by either Bug 1317870 or Bug 1481593. It broke in the nightly build on 2018-11-16. Also, just note, this isn't only affecting Fennec, Fenix is showing the same behavior.
Reporter | ||
Comment 2•5 years ago
|
||
Hi Mats, maybe you can confirm/look at this?
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
Bug 1481593 most likely broke this by removing the background
. That change is intentional though, because we want -webkit-appearance: none
to not render the range track. It's basically impossible to support that behavior though without having a native theme.
Assignee | ||
Comment 4•5 years ago
|
||
This reverts the changes from bug 1481593 / bug 1317870 which broke
the default rendering on Android only (since it doesn't have
a native theme for <input type=range>).
Pushed by mpalmgren@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/34a3e14b45b5 Reinstate default background color / size for -moz-range-track on Android. r=jwatt
Assignee | ||
Comment 6•5 years ago
|
||
Comment on attachment 9096746 [details]
Bug 1583660 - Reinstate default background color / size for -moz-range-track on Android. r=jwatt
Beta/Release Uplift Approval Request
- User impact if declined: somewhat confusing rendering of type=range form controls on Android
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: see comment 0
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Android-only change, and it restores previously used code
- String changes made/needed: none
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Comment 7•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Hi with the provided test build from Comment 7 the issue is solved, as now the inside both "Volume" and "Cowbell" and any other sections that contains element "input type = "range"" there is a gray line which shows the entire length of the track.
Verified with One Plus 6T-One Plus A6013(Android 9), Google Pixel 3a XL(Android 9) and Sony Xperia Z5 (Android 7.0.0).
Screenshot attached, please have a look.
I will modified the status for firefox 71 with verified. I will leave the ticket in this state until it is uplifted and can be verified on Firefox Beta.
Thank you
Comment 9•5 years ago
|
||
Double checking - Ryan, wouldn't this actually need esr uplift, not beta?
Updated•5 years ago
|
Comment 10•5 years ago
|
||
Comment on attachment 9096746 [details]
Bug 1583660 - Reinstate default background color / size for -moz-range-track on Android. r=jwatt
OK for beta uplift (for non-fennec products)
We will also need a patch for esr68 for Fennec.
Comment 11•5 years ago
|
||
Yeah, this affects all mobile products, not just Fennec. FYI, patch grafts cleanly to ESR68 as-is modulo a tiny reftest manifest conflict.
Updated•5 years ago
|
Comment 12•5 years ago
|
||
bugherder uplift |
Comment 13•5 years ago
|
||
bugherder uplift |
Updated•5 years ago
|
Comment 14•5 years ago
•
|
||
Verified as fixed on RC 68.2.0 build 2, ESR 68.2b7, Firefox Preview Nightly 191016 GV 71 with
- Google Pixel (Android Q);
- Samsung Galaxy Tab S3 (Android 8);
- Huawei Honor 8 (Android 7.0).
I will mark this as verified on ESR 68.
This is still reproducible on Firefox Preview 2.2.0-rc.2 GV 70.0.
mats: When will be the fix available for testing on Firefox Preview GV 70.0? Thanks!
Assignee | ||
Comment 15•5 years ago
•
|
||
Sorry, I don't know what "Firefox Preview GV 70.0" is. I would assume that if it's built from the mozilla-central v70 branch that it should be fixed. So there might be something still missing in the fix if it's not working (assuming it ever worked).
Comment 16•5 years ago
|
||
Firefox Preview GV 70.0 is the Fenix Release, it can be downloaded from https://tools.taskcluster.net/index/project.mobile.fenix.v2.production/latest.
I will test the fix on treeherder beta and come back with the result.
Thanks!
Comment 17•5 years ago
|
||
Verified as fixed on 70.0b15 with Samsung Galaxy Tab S3 (Android 8). I will mark this as verified on Firefox 70. Thanks!
Updated•2 years ago
|
Description
•