| 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 90fb83ac978bd502f901f97e4479aed4574fb56a..bab80c9f549b70bfb4173ea7b17b64cd1153cb02 100644
|
| --- a/tools/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate
|
| +++ b/tools/dom/templates/html/impl/impl_CSSStyleDeclaration.darttemplate
|
| @@ -5,9 +5,13 @@
|
| part of $LIBRARYNAME;
|
|
|
| $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
|
| - factory $CLASSNAME() => _$(CLASSNAME)FactoryProvider.create$CLASSNAME();
|
| - factory $CLASSNAME.css(String css) =>
|
| - _$(CLASSNAME)FactoryProvider.create$(CLASSNAME)_css(css);
|
| + factory $CLASSNAME() => new CssStyleDeclaration.css('');
|
| +
|
| + factory $CLASSNAME.css(String css) {
|
| + final style = new Element.tag('div').style;
|
| + style.cssText = css;
|
| + return style;
|
| + }
|
|
|
| $!MEMBERS
|
|
|
|
|