@@ -67,9 +67,9 @@ pub enum PseudoElement {
6767 ColorSwatch ,
6868 FileSelectorButton ,
6969 Placeholder ,
70- ServoSliderFill ,
71- ServoSliderThumb ,
72- ServoSliderTrack ,
70+ SliderFill ,
71+ SliderThumb ,
72+ SliderTrack ,
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- ServoSliderFill => "::-servo- slider-fill" ,
109- ServoSliderTrack => "::-servo- slider-track" ,
110- ServoSliderThumb => "::-servo- slider-thumb" ,
108+ SliderFill => "::slider-fill" ,
109+ SliderTrack => "::slider-track" ,
110+ SliderThumb => "::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 :: ServoSliderFill
265- | PseudoElement :: ServoSliderThumb
266- | PseudoElement :: ServoSliderTrack
264+ | PseudoElement :: SliderFill
265+ | PseudoElement :: SliderThumb
266+ | PseudoElement :: SliderTrack
267267 | PseudoElement :: ServoTextControlInnerContainer
268268 | PseudoElement :: ServoTextControlInnerEditor => PseudoElementCascadeType :: Lazy ,
269269 PseudoElement :: ServoAnonymousBox
@@ -701,24 +701,9 @@ impl<'a, 'i> ::selectors::Parser<'i> for SelectorParser<'a> {
701701 }
702702 ServoTextControlInnerEditor
703703 } ,
704- "-servo-slider-fill" => {
705- if !self . in_user_agent_stylesheet( ) {
706- return Err ( location. new_custom_error( SelectorParseErrorKind :: UnexpectedIdent ( name. clone( ) ) ) )
707- }
708- ServoSliderFill
709- } ,
710- "-servo-slider-thumb" => {
711- if !self . in_user_agent_stylesheet( ) {
712- return Err ( location. new_custom_error( SelectorParseErrorKind :: UnexpectedIdent ( name. clone( ) ) ) )
713- }
714- ServoSliderThumb
715- } ,
716- "-servo-slider-track" => {
717- if !self . in_user_agent_stylesheet( ) {
718- return Err ( location. new_custom_error( SelectorParseErrorKind :: UnexpectedIdent ( name. clone( ) ) ) )
719- }
720- ServoSliderTrack
721- } ,
704+ "slider-fill" => SliderFill ,
705+ "slider-thumb" => SliderThumb ,
706+ "slider-track" => SliderTrack ,
722707 "-servo-anonymous-box" => {
723708 if !self . in_user_agent_stylesheet( ) {
724709 return Err ( location. new_custom_error( SelectorParseErrorKind :: UnexpectedIdent ( name. clone( ) ) ) )
0 commit comments