moz-range-thumb cannot be relatively-positioned
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr68 | --- | unaffected |
| firefox-esr78 | --- | unaffected |
| firefox80 | --- | wontfix |
| firefox81 | --- | fix-optional |
| firefox82 | --- | ? |
People
(Reporter: daniel.livingston, Assigned: emilio, NeedInfo)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36
Steps to reproduce:
Stacked input range sliders, with z-index set on the thumb to simulate a multi-range sider e.g. http://projects.verou.me/multirange/
Actual results:
z-index set on pseudo element moz-range-thumb seem to be ignored
Expected results:
The thumb of a lower slider should be stacked according to z-index on top of the track of the upper slider for instance, as per Firefox less than 80
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
| Assignee | ||
Comment 2•5 years ago
|
||
That polyfill was relying on a Firefox bug. It broke with bug 1256980.
However they can't do the same thing they do in WebKit because we enforce their position to be static, so you can't relatively-position the thumbs. We should loosen that restriction.
Updated•5 years ago
|
| Assignee | ||
Comment 3•5 years ago
|
||
These were there to prevent crashes because when the type of the frame
changes dynamically we would mess up and fail to find the right
insertion point.
We deal with this correctly nowadays:
And the list was never exhaustive in the first place (e.g., writing-mode
can also cause us to reframe, and so do a bunch of other properties). So
there's no real reason to be so strict anymore.
Also change ::-moz-complex-control-wrapper while at it too, because it's
not web exposed so there's no need for those declarations in the first
place.
Updated•5 years ago
|
Updated•5 years ago
|
| Assignee | ||
Comment 4•5 years ago
|
||
After this fix, the polyfill needs to be updated to use position: relative instead of / as well as transform: scale(1) which is what it was using.
Updated•5 years ago
|
Comment 5•5 years ago
|
||
Set release status flags based on info from the regressing bug 1256980
Updated•5 years ago
|
Updated•5 years ago
|
Comment 7•5 years ago
|
||
| bugherder | ||
Comment 9•5 years ago
|
||
Backed out: https://hg.mozilla.org/integration/autoland/rev/bf6d283e86ccfdcfff5fa2fb2a2f4aee4a3e94c8
Comment 10•5 years ago
|
||
Backout merged: https://hg.mozilla.org/mozilla-central/rev/bf6d283e86cc
Updated•5 years ago
|
Comment 11•5 years ago
|
||
There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:emilio, could you have a look please?
For more information, please visit auto_nag documentation.
| Assignee | ||
Updated•5 years ago
|
Comment 12•3 years ago
|
||
Had some progress.
I tried to put a text in the middle of the input range, but the text is in front making it difficult to move the range-thumb.
Description
•