| Index: client/html/src/SVGElementWrappingImplementation.dart
|
| diff --git a/client/html/src/SVGElementWrappingImplementation.dart b/client/html/src/SVGElementWrappingImplementation.dart
|
| index 090a723ba5082d396a84c8994c7ee5da4510a0fd..41eb2c85f9acf2b46c1724dcf305253b5a92d509 100644
|
| --- a/client/html/src/SVGElementWrappingImplementation.dart
|
| +++ b/client/html/src/SVGElementWrappingImplementation.dart
|
| @@ -2,6 +2,16 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| +class _SVGClassSet extends _CssClassSet {
|
| + _SVGClassSet(element) : super(element);
|
| +
|
| + String _className() => _element.className.baseVal;
|
| +
|
| + viod _write(Set s) {
|
| + _element.className.baseVal = _formatSet(s);
|
| + }
|
| +}
|
| +
|
| class SVGElementWrappingImplementation extends ElementWrappingImplementation implements SVGElement {
|
| SVGElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {}
|
|
|
| @@ -25,6 +35,13 @@ class SVGElementWrappingImplementation extends ElementWrappingImplementation imp
|
| 'top-level elements but 1 expected');
|
| }
|
|
|
| + Set<String> get classes() {
|
| + if (_cssClassSet === null) {
|
| + _cssClassSet = new _SVGClassSet(_ptr);
|
| + }
|
| + return _cssClassSet;
|
| + }
|
| +
|
| String get id() { return _ptr.id; }
|
|
|
| void set id(String value) { _ptr.id = value; }
|
|
|