mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Add invalidate_stylesheets to StyleSheetsListOwner trait
This commit is contained in:
parent
3dd38151d4
commit
d77b9c6775
6 changed files with 17 additions and 35 deletions
|
@ -237,4 +237,8 @@ impl StyleSheetListOwner for Dom<ShadowRoot> {
|
|||
&mut self.author_styles.borrow_mut().stylesheets,
|
||||
)
|
||||
}
|
||||
|
||||
fn invalidate_stylesheets(&self) {
|
||||
ShadowRoot::invalidate_stylesheets(self);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue