mirror of
https://github.com/servo/servo
synced 2026-04-28 02:19:14 +02:00
Implement StyleSheet.disabled.
This commit is contained in:
@@ -86,6 +86,7 @@ impl HTMLStyleElement {
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user