Upgrade stylo to 2024-05-31 (#32474)

* Upgrade stylo to 2024-05-31

* Fixup for https://phabricator.services.mozilla.com/D211731

* Fixup for https://phabricator.services.mozilla.com/D207779

* Fixup for https://phabricator.services.mozilla.com/D207781

* Update test expectations
This commit is contained in:
Oriol Brufau 2024-06-24 22:03:50 +02:00 committed by GitHub
parent 680735ed73
commit b1fdfb88bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 45 additions and 49 deletions

View file

@ -18,7 +18,7 @@ use style::servo::media_queries::FontMetricsProvider;
use style::shared_lock::SharedRwLock;
use style::stylesheets::StyleRule;
use style::stylist::{
needs_revalidation_for_testing, ContainerConditionId, LayerId, Rule, Stylist,
needs_revalidation_for_testing, ContainerConditionId, LayerId, Rule, ScopeConditionId, Stylist,
};
use style::thread_state::{self, ThreadState};
use style::values::computed::Length;
@ -78,6 +78,7 @@ fn get_mock_rules(css_selectors: &[&str]) -> (Vec<Vec<Rule>>, SharedRwLock) {
LayerId::root(),
ContainerConditionId::none(),
/* in_starting_style = */ false,
ScopeConditionId::none(),
)
})
.collect()

View file

@ -382,9 +382,3 @@
[Property color value 'color-mix(in oklch, oklch(10 20 120deg / 0) 10%, oklch(30 40 30deg))']
expected: FAIL
[Property color value 'color-mix(in lch, white, blue)']
expected: FAIL
[Property color value 'color-mix(in lch, white 10%, blue)']
expected: FAIL

View file

@ -382,9 +382,3 @@
[Property color value 'color-mix(in oklch, oklch(10 20 120deg / 0) 10%, oklch(30 40 30deg))']
expected: FAIL
[Property color value 'color-mix(in lch, white, blue)']
expected: FAIL
[Property color value 'color-mix(in lch, white 10%, blue)']
expected: FAIL