This repository was archived by the owner on Oct 24, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -2427,7 +2427,6 @@ namespace Sass {
24272427 virtual bool has_parent_ref () { return false ; };
24282428 virtual bool has_real_parent_ref () { return false ; };
24292429 virtual bool is_pseudo_element () const { return false ; }
2430- virtual bool is_pseudo_class () { return false ; }
24312430
24322431 virtual bool is_superselector_of (Compound_Selector_Obj sub) { return false ; }
24332432
@@ -2620,14 +2619,6 @@ namespace Sass {
26202619 : Simple_Selector(ptr), expression_(ptr->expression_)
26212620 { simple_type (PSEUDO_SEL); }
26222621
2623- // A pseudo-class always consists of a "colon" (:) followed by the name
2624- // of the pseudo-class and optionally by a value between parentheses.
2625- virtual bool is_pseudo_class ()
2626- {
2627- return (name_[0 ] == ' :' && name_[1 ] != ' :' )
2628- && ! is_pseudo_class_element (name_);
2629- }
2630-
26312622 // A pseudo-element is made of two colons (::) followed by the name.
26322623 // The `::` notation is introduced by the current document in order to
26332624 // establish a discrimination between pseudo-classes and pseudo-elements.
You can’t perform that action at this time.
0 commit comments