mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Implement StyleSheet.disabled.
This commit is contained in:
parent
4529435f96
commit
64ff6dc103
10 changed files with 62 additions and 16 deletions
|
@ -94,6 +94,7 @@ impl HTMLLinkElement {
|
|||
self.get_stylesheet().map(|sheet| {
|
||||
self.cssom_stylesheet.or_init(|| {
|
||||
CSSStyleSheet::new(&window_from_node(self),
|
||||
self.upcast::<Element>(),
|
||||
"text/css".into(),
|
||||
None, // todo handle location
|
||||
None, // todo handle title
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue