OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 svg; | 5 part of $LIBRARYNAME; |
6 | 6 |
7 class _AttributeClassSet extends CssClassSet { | 7 class _AttributeClassSet extends CssClassSet { |
8 final Element _element; | 8 final Element _element; |
9 | 9 |
10 _AttributeClassSet(this._element); | 10 _AttributeClassSet(this._element); |
11 | 11 |
12 Set<String> readClasses() { | 12 Set<String> readClasses() { |
13 var classname = _element.attributes['class']; | 13 var classname = _element.attributes['class']; |
14 | 14 |
15 Set<String> s = new Set<String>(); | 15 Set<String> s = new Set<String>(); |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 throw new UnsupportedError("Cannot get dom_children on SVG."); | 106 throw new UnsupportedError("Cannot get dom_children on SVG."); |
107 } | 107 } |
108 | 108 |
109 bool get isContentEditable => false; | 109 bool get isContentEditable => false; |
110 void click() { | 110 void click() { |
111 throw new UnsupportedError("Cannot invoke click SVG."); | 111 throw new UnsupportedError("Cannot invoke click SVG."); |
112 } | 112 } |
113 | 113 |
114 $!MEMBERS | 114 $!MEMBERS |
115 } | 115 } |
OLD | NEW |