diff options
author | Oriol Brufau <obrufau@igalia.com> | 2024-02-29 11:23:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-29 10:23:53 +0000 |
commit | 31cfaf290daa9a65be47e721301a4aebddd22144 (patch) | |
tree | d68ca91b5503aac15a22da1546a0e2cdceb37e27 /components/script/dom/cssstylesheet.rs | |
parent | 6eb96290faf5beade356370e056e8011cc741de9 (diff) | |
download | servo-31cfaf290daa9a65be47e721301a4aebddd22144.tar.gz servo-31cfaf290daa9a65be47e721301a4aebddd22144.zip |
Update Stylo to 2023-07-23 (#31437)
* Update Stylo to 2023-07-23
* to_shmem should be local when working with Stylo
* Fixup for https://phabricator.services.mozilla.com/D180769
* Fixup for https://phabricator.services.mozilla.com/D181125
* Fixup for https://phabricator.services.mozilla.com/D181162
* Fixup for https://phabricator.services.mozilla.com/D181798
* Fixup for https://phabricator.services.mozilla.com/D182514
* Fixup for https://phabricator.services.mozilla.com/D182539
* Update test expectations
Diffstat (limited to 'components/script/dom/cssstylesheet.rs')
-rw-r--r-- | components/script/dom/cssstylesheet.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/cssstylesheet.rs b/components/script/dom/cssstylesheet.rs index 64c57461871..9fee49f3945 100644 --- a/components/script/dom/cssstylesheet.rs +++ b/components/script/dom/cssstylesheet.rs @@ -7,7 +7,7 @@ use std::cell::Cell; use dom_struct::dom_struct; use servo_arc::Arc; use style::shared_lock::SharedRwLock; -use style::stylesheets::Stylesheet as StyleStyleSheet; +use style::stylesheets::{CssRuleTypes, Stylesheet as StyleStyleSheet}; use crate::dom::bindings::codegen::Bindings::CSSStyleSheetBinding::CSSStyleSheetMethods; use crate::dom::bindings::error::{Error, ErrorResult, Fallible}; @@ -129,7 +129,7 @@ impl CSSStyleSheetMethods for CSSStyleSheet { return Err(Error::Security); } self.rulelist() - .insert_rule(&rule, index, /* nested */ false) + .insert_rule(&rule, index, CssRuleTypes::default()) } // https://drafts.csswg.org/cssom/#dom-cssstylesheet-deleterule |