Index: tools/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate b/tools/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate |
index 1c33e5f7a44c9c6e71f4dfb641ed50aea8ea08d3..1509c315d3f45a40b0d4804f95ed412f54ba80b1 100644 |
--- a/tools/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate |
@@ -16,7 +16,7 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME $EXTENDS with |
factory $CLASSNAME() => new CssStyleDeclaration.css(''); |
factory $CLASSNAME.css(String css) { |
- final style = new Element.tag('div').style; |
+ final style = new DivElement().style; |
style.cssText = css; |
return style; |
} |