mirror of
https://github.com/servo/servo.git
synced 2025-09-29 16:19:14 +01:00
Upgrade Stylo to 2023-12-01 (#32032)
* Upgrade Stylo to 2023-12-01 * Fixup for https://phabricator.services.mozilla.com/D191362 * Fixup for https://phabricator.services.mozilla.com/D191522 * Fixup for https://phabricator.services.mozilla.com/D191613 * Fixup for https://phabricator.services.mozilla.com/D191161 * Fixup for https://phabricator.services.mozilla.com/D191615 * Fixup for https://phabricator.services.mozilla.com/D193048 * Fixup for https://phabricator.services.mozilla.com/D193547 * Update test expectations
This commit is contained in:
parent
89a4820519
commit
5acfce5b89
17 changed files with 88 additions and 274 deletions
|
@ -67,7 +67,7 @@ fn get_mock_rules(css_selectors: &[&str]) -> (Vec<Vec<Rule>>, SharedRwLock) {
|
|||
let guard = shared_lock.read();
|
||||
let rule = locked.read_with(&guard);
|
||||
rule.selectors
|
||||
.0
|
||||
.slice()
|
||||
.iter()
|
||||
.map(|s| {
|
||||
Rule::new(
|
||||
|
@ -93,10 +93,11 @@ fn parse_selectors(selectors: &[&str]) -> Vec<Selector<SelectorImpl>> {
|
|||
.map(|x| {
|
||||
SelectorParser::parse_author_origin_no_namespace(x, &dummy_url_data)
|
||||
.unwrap()
|
||||
.0
|
||||
.slice()
|
||||
.into_iter()
|
||||
.next()
|
||||
.unwrap()
|
||||
.clone()
|
||||
})
|
||||
.collect()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue