| Index: sdk/lib/svg/dartium/svg_dartium.dart
|
| diff --git a/sdk/lib/svg/dartium/svg_dartium.dart b/sdk/lib/svg/dartium/svg_dartium.dart
|
| index ed0a5b7362f7af7d7287208eab1b210ee0e827e4..1f2392ae64fdf4e0e8c15065603d8c0b95e3d2a1 100644
|
| --- a/sdk/lib/svg/dartium/svg_dartium.dart
|
| +++ b/sdk/lib/svg/dartium/svg_dartium.dart
|
| @@ -6640,17 +6640,25 @@ class SvgElement extends Element {
|
| elements.addAll(value);
|
| }
|
|
|
| + List<Element> get children => new FilteredElementList(this);
|
| +
|
| + void set children(Collection<Element> value) {
|
| + final children = this.children;
|
| + children.clear();
|
| + children.addAll(value);
|
| + }
|
| +
|
| String get outerHTML {
|
| final container = new Element.tag("div");
|
| final SvgElement cloned = this.clone(true);
|
| - container.elements.add(cloned);
|
| + container.children.add(cloned);
|
| return container.innerHTML;
|
| }
|
|
|
| String get innerHTML {
|
| final container = new Element.tag("div");
|
| final SvgElement cloned = this.clone(true);
|
| - container.elements.addAll(cloned.elements);
|
| + container.children.addAll(cloned.children);
|
| return container.innerHTML;
|
| }
|
|
|
| @@ -6659,7 +6667,7 @@ class SvgElement extends Element {
|
| // Wrap the SVG string in <svg> so that SvgElements are created, rather than
|
| // HTMLElements.
|
| container.innerHTML = '<svg version="1.1">$svg</svg>';
|
| - this.elements = container.elements[0].elements;
|
| + this.children = container.children[0].children;
|
| }
|
|
|
| SvgElement.internal(): super.internal();
|
|
|