mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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
|
@ -20,6 +20,7 @@ pub trait StyleSheetListOwner: JSTraceable {
|
|||
fn stylesheet_at(&self, index: usize) -> Option<DomRoot<CSSStyleSheet>>;
|
||||
fn add_stylesheet(&self, owner: &Element, sheet: Arc<Stylesheet>);
|
||||
fn remove_stylesheet(&self, owner: &Element, s: &Arc<Stylesheet>);
|
||||
fn invalidate_stylesheets(&self);
|
||||
}
|
||||
|
||||
#[dom_struct]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue