Add invalidate_stylesheets to StyleSheetsListOwner trait

This commit is contained in:
Fernando Jiménez Moreno 2019-02-21 16:54:37 +01:00
parent 3dd38151d4
commit d77b9c6775
6 changed files with 17 additions and 35 deletions

View file

@ -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]