@@ -65,9 +65,9 @@ pub enum PseudoElement {
6565 // their appropriate styles.
6666 ColorSwatch ,
6767 Placeholder ,
68- ServoRangeProgress ,
69- ServoRangeThumb ,
70- ServoRangeTrack ,
68+ ServoSliderFill ,
69+ ServoSliderThumb ,
70+ ServoSliderTrack ,
7171
7272 // Private, Servo-specific implemented pseudos. Only matchable in UA sheet.
7373 ServoTextControlInnerContainer ,
@@ -101,9 +101,9 @@ impl ToCss for PseudoElement {
101101 Marker => "::marker" ,
102102 ColorSwatch => "::color-swatch" ,
103103 Placeholder => "::placeholder" ,
104- ServoRangeProgress => "::-servo-range-progress " ,
105- ServoRangeTrack => "::-servo-range -track" ,
106- ServoRangeThumb => "::-servo-range -thumb" ,
104+ ServoSliderFill => "::-servo-slider-fill " ,
105+ ServoSliderTrack => "::-servo-slider -track" ,
106+ ServoSliderThumb => "::-servo-slider -thumb" ,
107107 ServoTextControlInnerContainer => "::-servo-text-control-inner-container" ,
108108 ServoTextControlInnerEditor => "::-servo-text-control-inner-editor" ,
109109 ServoAnonymousBox => "::-servo-anonymous-box" ,
@@ -255,9 +255,9 @@ impl PseudoElement {
255255 | PseudoElement :: Marker
256256 | PseudoElement :: Placeholder
257257 | PseudoElement :: DetailsContent
258- | PseudoElement :: ServoRangeProgress
259- | PseudoElement :: ServoRangeThumb
260- | PseudoElement :: ServoRangeTrack
258+ | PseudoElement :: ServoSliderFill
259+ | PseudoElement :: ServoSliderThumb
260+ | PseudoElement :: ServoSliderTrack
261261 | PseudoElement :: ServoTextControlInnerContainer
262262 | PseudoElement :: ServoTextControlInnerEditor => PseudoElementCascadeType :: Lazy ,
263263 PseudoElement :: ServoAnonymousBox
@@ -672,23 +672,23 @@ impl<'a, 'i> ::selectors::Parser<'i> for SelectorParser<'a> {
672672 }
673673 ServoTextControlInnerEditor
674674 } ,
675- "-servo-range-progress " => {
675+ "-servo-slider-fill " => {
676676 if !self . in_user_agent_stylesheet( ) {
677677 return Err ( location. new_custom_error( SelectorParseErrorKind :: UnexpectedIdent ( name. clone( ) ) ) )
678678 }
679- ServoRangeProgress
679+ ServoSliderFill
680680 } ,
681- "-servo-range -thumb" => {
681+ "-servo-slider -thumb" => {
682682 if !self . in_user_agent_stylesheet( ) {
683683 return Err ( location. new_custom_error( SelectorParseErrorKind :: UnexpectedIdent ( name. clone( ) ) ) )
684684 }
685- ServoRangeThumb
685+ ServoSliderThumb
686686 } ,
687- "-servo-range -track" => {
687+ "-servo-slider -track" => {
688688 if !self . in_user_agent_stylesheet( ) {
689689 return Err ( location. new_custom_error( SelectorParseErrorKind :: UnexpectedIdent ( name. clone( ) ) ) )
690690 }
691- ServoRangeTrack
691+ ServoSliderTrack
692692 } ,
693693 "-servo-anonymous-box" => {
694694 if !self . in_user_agent_stylesheet( ) {
0 commit comments