We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff5c482 commit 72e4482Copy full SHA for 72e4482
1 file changed
crates/biome_css_semantic/src/semantic_model/specificity.rs
@@ -130,9 +130,6 @@ fn evaluate_any_subselector(selector: &AnyCssSubSelector) -> Specificity {
130
AnyCssSubSelector::CssAttributeSelector(_) => CLASS_SPECIFICITY,
131
AnyCssSubSelector::CssPseudoClassSelector(s) => evaluate_pseudo_selector(s),
132
AnyCssSubSelector::CssPseudoElementSelector(_) => TYPE_SPECIFICITY,
133
- // The nesting selector's specificity is the specificity of the parent
134
- // selector it's substituted with, which isn't known here. As with the
135
- // leading `&` in `nesting_selectors`, treat it as contributing nothing.
136
AnyCssSubSelector::CssNestedSelector(_) => ZERO_SPECIFICITY,
137
AnyCssSubSelector::CssBogusSubSelector(_) => ZERO_SPECIFICITY,
138
}
0 commit comments