mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Use stylesheet’s base URL and ns prefixes in CSSOM insert/appendRule.
This commit is contained in:
parent
f1d49d3773
commit
70b250fe2a
5 changed files with 24 additions and 20 deletions
|
@ -67,6 +67,10 @@ impl CSSStyleSheet {
|
|||
self.global().as_window().Document().invalidate_stylesheets();
|
||||
}
|
||||
}
|
||||
|
||||
pub fn style_stylesheet(&self) -> &StyleStyleSheet {
|
||||
&self.style_stylesheet
|
||||
}
|
||||
}
|
||||
|
||||
impl CSSStyleSheetMethods for CSSStyleSheet {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue