| 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 4035 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 4046 // BSD-style license that can be found in the LICENSE file. | 4046 // BSD-style license that can be found in the LICENSE file. | 
| 4047 | 4047 | 
| 4048 class AttributeClassSet extends CssClassSetImpl { | 4048 class AttributeClassSet extends CssClassSetImpl { | 
| 4049   final Element _element; | 4049   final Element _element; | 
| 4050 | 4050 | 
| 4051   AttributeClassSet(this._element); | 4051   AttributeClassSet(this._element); | 
| 4052 | 4052 | 
| 4053   Set<String> readClasses() { | 4053   Set<String> readClasses() { | 
| 4054     var classname = _element.attributes['class']; | 4054     var classname = _element.attributes['class']; | 
| 4055     if (classname is AnimatedString) { | 4055     if (classname is AnimatedString) { | 
| 4056       classname = classname.baseVal; | 4056       classname = (classname as AnimatedString).baseVal; | 
| 4057     } | 4057     } | 
| 4058 | 4058 | 
| 4059     Set<String> s = new LinkedHashSet<String>(); | 4059     Set<String> s = new LinkedHashSet<String>(); | 
| 4060     if (classname == null) { | 4060     if (classname == null) { | 
| 4061       return s; | 4061       return s; | 
| 4062     } | 4062     } | 
| 4063     for (String name in classname.split(' ')) { | 4063     for (String name in classname.split(' ')) { | 
| 4064       String trimmed = name.trim(); | 4064       String trimmed = name.trim(); | 
| 4065       if (!trimmed.isEmpty) { | 4065       if (!trimmed.isEmpty) { | 
| 4066         s.add(trimmed); | 4066         s.add(trimmed); | 
| (...skipping 1895 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 5962   /** | 5962   /** | 
| 5963    * Constructor instantiated by the DOM when a custom element has been created. | 5963    * Constructor instantiated by the DOM when a custom element has been created. | 
| 5964    * | 5964    * | 
| 5965    * This can only be called by subclasses from their created constructor. | 5965    * This can only be called by subclasses from their created constructor. | 
| 5966    */ | 5966    */ | 
| 5967   _SVGMPathElement.created() : super.created(); | 5967   _SVGMPathElement.created() : super.created(); | 
| 5968 | 5968 | 
| 5969   // From SVGURIReference | 5969   // From SVGURIReference | 
| 5970 | 5970 | 
| 5971 } | 5971 } | 
| OLD | NEW | 
|---|