aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlelement.rs
diff options
context:
space:
mode:
authorDavid Zbarsky <dzbarsky@gmail.com>2015-07-27 23:05:18 -0400
committerDavid Zbarsky <dzbarsky@gmail.com>2015-07-29 20:17:50 -0400
commite484d6b5e3f378a33fabf5ff64cb9a7f76f3ba68 (patch)
tree49235a86cc3949b27d2262c8bfb11af5c964a249 /components/script/dom/htmlelement.rs
parent416931f4be43826d3b2a96905c22f626c88b603c (diff)
downloadservo-e484d6b5e3f378a33fabf5ff64cb9a7f76f3ba68.tar.gz
servo-e484d6b5e3f378a33fabf5ff64cb9a7f76f3ba68.zip
Implement getComputedStyle
Diffstat (limited to 'components/script/dom/htmlelement.rs')
-rw-r--r--components/script/dom/htmlelement.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlelement.rs b/components/script/dom/htmlelement.rs
index 85574373c30..513a9d39775 100644
--- a/components/script/dom/htmlelement.rs
+++ b/components/script/dom/htmlelement.rs
@@ -135,7 +135,7 @@ impl<'a> HTMLElementMethods for &'a HTMLElement {
fn Style(self) -> Root<CSSStyleDeclaration> {
self.style_decl.or_init(|| {
let global = window_from_node(self);
- CSSStyleDeclaration::new(global.r(), self, CSSModificationAccess::ReadWrite)
+ CSSStyleDeclaration::new(global.r(), self, None, CSSModificationAccess::ReadWrite)
})
}