| OLD | NEW |
| 1 /** | 1 /** |
| 2 * Scalable Vector Graphics: | 2 * Scalable Vector Graphics: |
| 3 * Two-dimensional vector graphics with support for events and animation. | 3 * Two-dimensional vector graphics with support for events and animation. |
| 4 * | 4 * |
| 5 * For details about the features and syntax of SVG, a W3C standard, | 5 * For details about the features and syntax of SVG, a W3C standard, |
| 6 * refer to the | 6 * refer to the |
| 7 * [Scalable Vector Graphics Specification](http://www.w3.org/TR/SVG/). | 7 * [Scalable Vector Graphics Specification](http://www.w3.org/TR/SVG/). |
| 8 */ | 8 */ |
| 9 library dart.dom.svg; | 9 library dart.dom.svg; |
| 10 | 10 |
| (...skipping 5169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5180 // BSD-style license that can be found in the LICENSE file. | 5180 // BSD-style license that can be found in the LICENSE file. |
| 5181 | 5181 |
| 5182 class AttributeClassSet extends CssClassSetImpl { | 5182 class AttributeClassSet extends CssClassSetImpl { |
| 5183 final Element _element; | 5183 final Element _element; |
| 5184 | 5184 |
| 5185 AttributeClassSet(this._element); | 5185 AttributeClassSet(this._element); |
| 5186 | 5186 |
| 5187 Set<String> readClasses() { | 5187 Set<String> readClasses() { |
| 5188 var classname = _element.attributes['class']; | 5188 var classname = _element.attributes['class']; |
| 5189 if (classname is AnimatedString) { | 5189 if (classname is AnimatedString) { |
| 5190 classname = classname.baseVal; | 5190 classname = (classname as AnimatedString).baseVal; |
| 5191 } | 5191 } |
| 5192 | 5192 |
| 5193 Set<String> s = new LinkedHashSet<String>(); | 5193 Set<String> s = new LinkedHashSet<String>(); |
| 5194 if (classname == null) { | 5194 if (classname == null) { |
| 5195 return s; | 5195 return s; |
| 5196 } | 5196 } |
| 5197 for (String name in classname.split(' ')) { | 5197 for (String name in classname.split(' ')) { |
| 5198 String trimmed = name.trim(); | 5198 String trimmed = name.trim(); |
| 5199 if (!trimmed.isEmpty) { | 5199 if (!trimmed.isEmpty) { |
| 5200 s.add(trimmed); | 5200 s.add(trimmed); |
| (...skipping 2210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7411 * Constructor instantiated by the DOM when a custom element has been created. | 7411 * Constructor instantiated by the DOM when a custom element has been created. |
| 7412 * | 7412 * |
| 7413 * This can only be called by subclasses from their created constructor. | 7413 * This can only be called by subclasses from their created constructor. |
| 7414 */ | 7414 */ |
| 7415 _SVGMPathElement.created() : super.created(); | 7415 _SVGMPathElement.created() : super.created(); |
| 7416 | 7416 |
| 7417 // Override these methods for Dartium _SVGMPathElement can't be abstract. | 7417 // Override these methods for Dartium _SVGMPathElement can't be abstract. |
| 7418 AnimatedString get href => | 7418 AnimatedString get href => |
| 7419 _blink.BlinkSVGMPathElement.instance.href_Getter_(this); | 7419 _blink.BlinkSVGMPathElement.instance.href_Getter_(this); |
| 7420 } | 7420 } |
| OLD | NEW |