OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 part of html; | 5 part of html; |
6 | 6 |
7 $!COMMENT | 7 $!COMMENT |
8 abstract class DocumentFragment extends Element { | 8 abstract class _IDocumentFragment extends Element { |
9 | 9 |
10 factory DocumentFragment() => _$(ID)FactoryProvider.createDocumentFragment(); | 10 factory _IDocumentFragment() => _$(ID)FactoryProvider.createDocumentFragment()
; |
11 | 11 |
12 factory DocumentFragment.html(String html) => | 12 factory _IDocumentFragment.html(String html) => |
13 _$(ID)FactoryProvider.createDocumentFragment_html(html); | 13 _$(ID)FactoryProvider.createDocumentFragment_html(html); |
14 | 14 |
15 // TODO(nweiz): enable this when XML is ported | 15 // TODO(nweiz): enable this when XML is ported |
16 // /** WARNING: Currently this doesn't work on Dartium (issue 649). */ | 16 // /** WARNING: Currently this doesn't work on Dartium (issue 649). */ |
17 // DocumentFragment.xml(String xml); | 17 // DocumentFragment.xml(String xml); |
18 | 18 |
19 factory DocumentFragment.svg(String svg) => | 19 factory DocumentFragment.svg(String svg) => |
20 new _$(ID)FactoryProvider.DocumentFragment.svg(svg); | 20 new _$(ID)FactoryProvider.createDocumentFragment_svg(svg); |
21 | 21 |
22 DocumentFragment clone(bool deep); | 22 DocumentFragment clone(bool deep); |
23 | 23 |
24 $!MEMBERS | 24 $!MEMBERS |
25 } | 25 } |
OLD | NEW |