@@ -67,9 +67,9 @@ pub enum PseudoElement {
6767 ColorSwatch ,
6868 FileSelectorButton ,
6969 Placeholder ,
70- ServoRangeProgress ,
71- ServoRangeThumb ,
72- ServoRangeTrack ,
70+ ServoSliderFill ,
71+ ServoSliderThumb ,
72+ ServoSliderTrack ,
7373
7474 // Private, Servo-specific implemented pseudos. Only matchable in UA sheet.
7575 ServoTextControlInnerContainer ,
@@ -105,9 +105,9 @@ impl ToCss for PseudoElement {
105105 ColorSwatch => "::color-swatch" ,
106106 FileSelectorButton => "::file-selector-button" ,
107107 Placeholder => "::placeholder" ,
108- ServoRangeProgress => "::-servo-range-progress " ,
109- ServoRangeTrack => "::-servo-range -track" ,
110- ServoRangeThumb => "::-servo-range -thumb" ,
108+ ServoSliderFill => "::-servo-slider-fill " ,
109+ ServoSliderTrack => "::-servo-slider -track" ,
110+ ServoSliderThumb => "::-servo-slider -thumb" ,
111111 ServoTextControlInnerContainer => "::-servo-text-control-inner-container" ,
112112 ServoTextControlInnerEditor => "::-servo-text-control-inner-editor" ,
113113 ServoAnonymousBox => "::-servo-anonymous-box" ,
@@ -261,9 +261,9 @@ impl PseudoElement {
261261 | PseudoElement :: Marker
262262 | PseudoElement :: Placeholder
263263 | PseudoElement :: DetailsContent
264- | PseudoElement :: ServoRangeProgress
265- | PseudoElement :: ServoRangeThumb
266- | PseudoElement :: ServoRangeTrack
264+ | PseudoElement :: ServoSliderFill
265+ | PseudoElement :: ServoSliderThumb
266+ | PseudoElement :: ServoSliderTrack
267267 | PseudoElement :: ServoTextControlInnerContainer
268268 | PseudoElement :: ServoTextControlInnerEditor => PseudoElementCascadeType :: Lazy ,
269269 PseudoElement :: ServoAnonymousBox
@@ -701,23 +701,23 @@ impl<'a, 'i> ::selectors::Parser<'i> for SelectorParser<'a> {
701701 }
702702 ServoTextControlInnerEditor
703703 } ,
704- "-servo-range-progress " => {
704+ "-servo-slider-fill " => {
705705 if !self . in_user_agent_stylesheet( ) {
706706 return Err ( location. new_custom_error( SelectorParseErrorKind :: UnexpectedIdent ( name. clone( ) ) ) )
707707 }
708- ServoRangeProgress
708+ ServoSliderFill
709709 } ,
710- "-servo-range -thumb" => {
710+ "-servo-slider -thumb" => {
711711 if !self . in_user_agent_stylesheet( ) {
712712 return Err ( location. new_custom_error( SelectorParseErrorKind :: UnexpectedIdent ( name. clone( ) ) ) )
713713 }
714- ServoRangeThumb
714+ ServoSliderThumb
715715 } ,
716- "-servo-range -track" => {
716+ "-servo-slider -track" => {
717717 if !self . in_user_agent_stylesheet( ) {
718718 return Err ( location. new_custom_error( SelectorParseErrorKind :: UnexpectedIdent ( name. clone( ) ) ) )
719719 }
720- ServoRangeTrack
720+ ServoSliderTrack
721721 } ,
722722 "-servo-anonymous-box" => {
723723 if !self . in_user_agent_stylesheet( ) {
0 commit comments