| Index: lib/html/templates/html/interface/interface_DocumentFragment.darttemplate
|
| diff --git a/lib/html/templates/html/interface/interface_DocumentFragment.darttemplate b/lib/html/templates/html/interface/interface_DocumentFragment.darttemplate
|
| index 83fe24c7e278e28f12c05862b25f3cacd90712f9..5e008870dc7b75f755e3c93986e913d6cf468340 100644
|
| --- a/lib/html/templates/html/interface/interface_DocumentFragment.darttemplate
|
| +++ b/lib/html/templates/html/interface/interface_DocumentFragment.darttemplate
|
| @@ -3,17 +3,19 @@
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| $!COMMENT
|
| -interface DocumentFragment extends Element default _$(ID)FactoryProvider {
|
| +abstract class DocumentFragment extends Element {
|
|
|
| - DocumentFragment();
|
| + factory DocumentFragment() => _$(ID)FactoryProvider.createDocumentFragment();
|
|
|
| - DocumentFragment.html(String html);
|
| + factory DocumentFragment.html(String html) =>
|
| + _$(ID)FactoryProvider.createDocumentFragment_html(html);
|
|
|
| // TODO(nweiz): enable this when XML is ported
|
| // /** WARNING: Currently this doesn't work on Dartium (issue 649). */
|
| // DocumentFragment.xml(String xml);
|
|
|
| - DocumentFragment.svg(String svg);
|
| + factory DocumentFragment.svg(String svg) =>
|
| + new _$(ID)FactoryProvider.DocumentFragment.svg(svg);
|
|
|
| DocumentFragment clone(bool deep);
|
|
|
|
|