Closed Bug 1583660 Opened 5 years ago Closed 5 years ago

input type=range element not rendering on Android

Categories

(Core :: Layout: Form Controls, defect, P2)

65 Branch
All
Android
defect

Tracking

()

VERIFIED FIXED
mozilla71
Tracking Status
firefox-esr60 --- unaffected
firefox-esr68 --- verified
firefox67 --- wontfix
firefox68 --- wontfix
firefox69 --- wontfix
firefox70 --- verified
firefox71 --- verified

People

(Reporter: sysrqb, Assigned: MatsPalmgren_bugz)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [tor 31822])

Attachments

(1 file)

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.

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.

Hi Mats, maybe you can confirm/look at this?

Flags: needinfo?(mats)
Whiteboard: [tor 31822]
Status: UNCONFIRMED → NEW
Component: General → Layout: Form Controls
Ever confirmed: true
OS: Unspecified → Android
Product: Firefox for Android → Core
Hardware: Unspecified → All
Version: Firefox 65 → 65 Branch

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: nobody → mats
Flags: needinfo?(mats)
Keywords: regression
Priority: -- → P2
Regressed by: 1481593

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

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
Attachment #9096746 - Flags: approval-mozilla-beta?
Flags: qe-verify+
Flags: in-testsuite+
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
QA Whiteboard: [qa-triaged]

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

Double checking - Ryan, wouldn't this actually need esr uplift, not beta?

Flags: needinfo?(ryanvm)

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.

Attachment #9096746 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Yeah, this affects all mobile products, not just Fennec. FYI, patch grafts cleanly to ESR68 as-is modulo a tiny reftest manifest conflict.

Flags: needinfo?(ryanvm)
Attachment #9096746 - Flags: approval-mozilla-esr68+

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!

Flags: needinfo?(mats)

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).

Flags: needinfo?(mats)

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!

Verified as fixed on 70.0b15 with Samsung Galaxy Tab S3 (Android 8). I will mark this as verified on Firefox 70. Thanks!

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-triaged]
Flags: qe-verify+
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: