Skip to content

Commit

Permalink
Upgrade Stylo to 2025-02-03
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoburns committed Feb 5, 2025
1 parent dac5c61 commit 616db96
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ license = "MIT OR Apache-2.0"

[workspace.dependencies]
# Servo dependencies
style = { git = "https://github.com/servo/stylo", rev = "dfed17bd", package = "style" } # 2025-01-02
style_config = { git = "https://github.com/servo/stylo", rev = "dfed17bd", package = "style_config" } # 2025-01-02
style_traits = { git = "https://github.com/servo/stylo", rev = "dfed17bd", package = "style_traits" } # 2025-01-02
style_dom = { git = "https://github.com/servo/stylo", rev = "dfed17bd", package = "dom" } # 2025-01-02
selectors = { git = "https://github.com/servo/stylo", rev = "dfed17bd", package = "selectors" } # 2025-01-02
style = { git = "https://github.com/servo/stylo", rev = "4359cb61", package = "style" } # 2025-02-03
style_config = { git = "https://github.com/servo/stylo", rev = "4359cb61", package = "style_config" } # 2025-02-03
style_traits = { git = "https://github.com/servo/stylo", rev = "4359cb61", package = "style_traits" } # 2025-02-03
style_dom = { git = "https://github.com/servo/stylo", rev = "4359cb61", package = "dom" } # 2025-02-03
selectors = { git = "https://github.com/servo/stylo", rev = "4359cb61", package = "selectors" } # 2025-02-03

markup5ever = "0.14" # needs to match stylo markup5ever version
html5ever = "0.29" # needs to match stylo markup5ever version
Expand Down
6 changes: 5 additions & 1 deletion packages/blitz-dom/src/stylo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ use style::rule_tree::CascadeLevel;
use style::selector_parser::PseudoElement;
use style::servo::url::ComputedUrl;
use style::stylesheets::layer_rule::LayerOrder;
use style::stylesheets::scope_rule::ImplicitScopeRoot;
use style::values::computed::Percentage;
use style::values::generics::image::Image as StyloImage;
use style::values::specified::box_::DisplayOutside;
Expand Down Expand Up @@ -628,7 +629,10 @@ impl<'a> TElement for BlitzNode<'a> {
self
}

fn unopaque(_opaque: OpaqueElement) -> Self {
fn implicit_scope_for_sheet_in_shadow_root(
_opaque_host: OpaqueElement,
_sheet_index: usize,
) -> Option<ImplicitScopeRoot> {
// We cannot currently implement this as we are using the NodeId as the OpaqueElement,
// and need a reference to the Slab to convert it back into an Element
//
Expand Down

0 comments on commit 616db96

Please sign in to comment.