Skip to content

Commit 37f1eb2

Browse files
committed
Fix selectors test
Fixes parcel-bundler#147
1 parent 6d46cce commit 37f1eb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

selectors/parser.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ pub trait NonTSPseudoClass<'i>: Sized + ToCss {
5656
fn is_user_action_state(&self) -> bool;
5757

5858
fn is_valid_before_webkit_scrollbar(&self) -> bool {
59-
false
59+
true
6060
}
6161

6262
fn is_valid_after_webkit_scrollbar(&self) -> bool {
@@ -3416,7 +3416,7 @@ pub mod tests {
34163416
seen: Vec<String>,
34173417
}
34183418

3419-
impl SelectorVisitor for TestVisitor {
3419+
impl<'i> SelectorVisitor<'i> for TestVisitor {
34203420
type Impl = DummySelectorImpl;
34213421

34223422
fn visit_simple_selector(&mut self, s: &Component<DummySelectorImpl>) -> bool {

0 commit comments

Comments
 (0)