Open
Bug 979455
Opened 10 years ago
Updated 2 years ago
Appearance of input of type=range changes unexpectedly when styled with border
Categories
(Core :: Layout: Form Controls, defect, P5)
Tracking
()
UNCONFIRMED
People
(Reporter: bugzzilla, Unassigned)
Details
(Keywords: testcase, Whiteboard: DUPEME[bugday-20140310])
Attachments
(4 files)
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0 (Beta/Release) Build ID: 20140212131424 Steps to reproduce: Applied CSS style to input element of type=range. The only property that was changed is "border". The property value is "medium none", which is also the default value for the element according to forms.css. So nothing of the element's style was actually changed. Actual results: Appearance of element changes completely and unexpectedly. Without style it's a shadow'ed line with a pointed knob, with style it's a solid line with a rounded knob. Expected results: Only applied style should change.
Comment 1•10 years ago
|
||
Updated•10 years ago
|
Component: Untriaged → Layout: Form Controls
OS: Windows 7 → All
Product: Firefox → Core
Summary: Appearance of input of type=range changes unexpectedly when styled → Appearance of input of type=range changes unexpectedly when styled with border
Whiteboard: [bugday-20140310]
Comment 2•10 years ago
|
||
Isn't this the standard thing where once you change parts of the control that the OS theme engine draws we can no longer use the OS theme engine to paint the control and have to fall back to painting it ourselves? How similar that looks to the OS theme rendering will then depend on the exact OS theme you use and whatnot.
Whiteboard: [bugday-20140310] → DUPEME[bugday-20140310]
Comment 3•10 years ago
|
||
Yes. Although since the native themes don't draw a border for range controls, we could probably make an exception for range.
Reporter | ||
Comment 4•10 years ago
|
||
The border was just an example. For other properties, e.g. the background color, I would expect the same, i.e. only the background color should change, and not everything else, too.
Updated•10 years ago
|
Comment 5•9 years ago
|
||
This test case is applying background-color property to input type=range.
Comment 6•9 years ago
|
||
This is a screenshot of test case 2 (Firefox/42.0 on Windows 10 x86-64).
Updated•2 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•