mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Do not add shadow tree styles to stylist
This commit is contained in:
parent
519cc2c317
commit
47872cdaa3
2 changed files with 9 additions and 8 deletions
|
@ -253,14 +253,6 @@ impl DocumentOrShadowRoot {
|
|||
"Wat"
|
||||
);
|
||||
|
||||
self.window
|
||||
.layout_chan()
|
||||
.send(Msg::AddStylesheet(
|
||||
sheet.clone(),
|
||||
insertion_point.as_ref().map(|s| s.sheet.clone()),
|
||||
))
|
||||
.unwrap();
|
||||
|
||||
let sheet = StyleSheetInDocument {
|
||||
sheet,
|
||||
owner: Dom::from_ref(owner),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue