Skip to content

Commit ac16e64

Browse files
authored
Parse ::slotted selector (#120)
Servo already supports this selector, it just needs to be turned on. Signed-off-by: Simon Wülker <[email protected]>
1 parent 4359cb6 commit ac16e64

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

style/servo/selector_parser.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -712,6 +712,10 @@ impl<'a, 'i> ::selectors::Parser<'i> for SelectorParser<'a> {
712712
fn parse_host(&self) -> bool {
713713
true
714714
}
715+
716+
fn parse_slotted(&self) -> bool {
717+
true
718+
}
715719
}
716720

717721
impl SelectorImpl {

0 commit comments

Comments
 (0)