diff options
author | Keith Yeung <kungfukeith11@gmail.com> | 2016-12-23 11:58:29 -0800 |
---|---|---|
committer | Keith Yeung <kungfukeith11@gmail.com> | 2017-01-07 22:18:04 -0800 |
commit | 18567ce7a88aad4ce315f5c277d29d32c702d899 (patch) | |
tree | 93d0c3aaf7d4b9879a27c9765fa3a3d1d54adf62 /components/script/dom/cssstylerule.rs | |
parent | 6d4ccab2b71c8eedcf05ed5402195538d626f8c8 (diff) | |
download | servo-18567ce7a88aad4ce315f5c277d29d32c702d899.tar.gz servo-18567ce7a88aad4ce315f5c277d29d32c702d899.zip |
Implement CSSKeyframeRule.style
Diffstat (limited to 'components/script/dom/cssstylerule.rs')
-rw-r--r-- | components/script/dom/cssstylerule.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/cssstylerule.rs b/components/script/dom/cssstylerule.rs index 3e23864ae61..1eb6e74df8b 100644 --- a/components/script/dom/cssstylerule.rs +++ b/components/script/dom/cssstylerule.rs @@ -58,7 +58,7 @@ impl CSSStyleRuleMethods for CSSStyleRule { fn Style(&self) -> Root<CSSStyleDeclaration> { self.style_decl.or_init(|| { CSSStyleDeclaration::new(self.global().as_window(), - CSSStyleOwner::CSSStyleRule(JS::from_ref(self.global().as_window()), + CSSStyleOwner::CSSRule(JS::from_ref(self.global().as_window()), self.stylerule.read().block.clone()), None, CSSModificationAccess::ReadWrite) |