mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Further changes required by Servo
This commit is contained in:
parent
9f6341b83a
commit
98d10f954b
2 changed files with 2 additions and 0 deletions
|
@ -107,6 +107,7 @@ impl CSSStyleRuleMethods for CSSStyleRule {
|
||||||
stylesheet_origin: Origin::Author,
|
stylesheet_origin: Origin::Author,
|
||||||
namespaces: &namespaces,
|
namespaces: &namespaces,
|
||||||
url_data: &url_data,
|
url_data: &url_data,
|
||||||
|
for_supports_rule: false,
|
||||||
};
|
};
|
||||||
let mut css_parser = CssParserInput::new(&*value);
|
let mut css_parser = CssParserInput::new(&*value);
|
||||||
let mut css_parser = CssParser::new(&mut css_parser);
|
let mut css_parser = CssParser::new(&mut css_parser);
|
||||||
|
|
|
@ -20,6 +20,7 @@ fn parse_selector<'i, 't>(
|
||||||
stylesheet_origin: Origin::UserAgent,
|
stylesheet_origin: Origin::UserAgent,
|
||||||
namespaces: &ns,
|
namespaces: &ns,
|
||||||
url_data: &dummy_url,
|
url_data: &dummy_url,
|
||||||
|
for_supports_rule: false,
|
||||||
};
|
};
|
||||||
SelectorList::parse(&parser, input)
|
SelectorList::parse(&parser, input)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue