mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Support origins in CSSOM stylesheets
This commit is contained in:
parent
655a9fd7ce
commit
fd950a7309
8 changed files with 103 additions and 9 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue