diff options
Diffstat (limited to 'components/script/dom/element.rs')
-rw-r--r-- | components/script/dom/element.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/element.rs b/components/script/dom/element.rs index 2d92c5995e3..bb97931a9d9 100644 --- a/components/script/dom/element.rs +++ b/components/script/dom/element.rs @@ -700,7 +700,7 @@ impl Element { // this sync method is called upon modification of the style_attribute property, // therefore, it should not trigger subsequent mutation events - fn sync_property_with_attrs_style(&self) { + pub fn sync_property_with_attrs_style(&self) { let style_str = if let &Some(ref declarations) = &*self.style_attribute().borrow() { declarations.to_css_string() } else { |