Open Bug 1993699 Opened 4 months ago Updated 1 month ago

Consider allowing ::-moz-range-thumb to be tree-abiding pseudo for anchor positioning

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

People

(Reporter: dshin, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: dev-doc-needed, Whiteboard: [anchorpositioning:backlog])

From bug 1988225 comment 2: https://codepen.io/yisi/pen/yLrjKEO (The case is using ::-webkit-slider-thumb as well that we don't recognize)
Seems reasonable enough?

Severity: -- → S3
See Also: → 1993695
Summary: Allow ::-moz-range-thumb to be tree-abiding pseudo for anchor positioning → Consider allowing ::-moz-range-thumb to be tree-abiding pseudo for anchor positioning
Whiteboard: [anchorpositioning:triage]

I added ::-moz-range-thumb to the original demo and forked a new one.
https://codepen.io/yisi/pen/qEbjpqv

Please note that in the demo, there is also a new behavior for anchor-center. Refer to WebKit bug: https://bugs.webkit.org/show_bug.cgi?id=294575

Whiteboard: [anchorpositioning:triage] → [anchorpositioning:backlog]
See Also: → 2010577

I'm just creating a PR to add information about this issue to MDN. Once this bug is fixed, we'll need to remove it again.

Keywords: dev-doc-needed

Argh, this isn't as simple as putting the pseudo in the allowable anchor list - need a mechanism to update the positioned element on the range slider being updated.

You need to log in before you can comment on or make changes to this bug.