Skip to content

Commit bea1809

Browse files
committed
fix: pseudo classes weight impl
1 parent 7f071ff commit bea1809

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

float-pigment-css/src/sheet/selector.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,6 @@ impl SelectorFragment {
262262
if self.pseudo_classes.as_ref().is_some() {
263263
weight += 1 << 5;
264264
}
265-
if self.pseudo_classes.as_ref().is_some() {
266-
weight += 1 << 5;
267-
}
268265
self.weight.set(weight);
269266
weight
270267
}

0 commit comments

Comments
 (0)