Support origins in CSSOM stylesheets

This commit is contained in:
Nazım Can Altınova 2016-12-20 11:37:28 +03:00
parent 655a9fd7ce
commit fd950a7309
8 changed files with 103 additions and 9 deletions

View file

@ -319,6 +319,12 @@ impl StylesheetOwner for HTMLLinkElement {
None
}
fn set_origin_clean(&self, origin_clean: bool) {
if let Some(stylesheet) = self.get_cssom_stylesheet() {
stylesheet.set_origin_clean(origin_clean);
}
}
}
impl HTMLLinkElementMethods for HTMLLinkElement {