Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Side by Side Diff: sdk/lib/svg/dart2js/svg_dart2js.dart

Issue 2899173002: Include DDC fixes to dart:html in the main version (Closed)
Patch Set: A few more ddc fixes Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/svg/dartium/svg_dartium.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/svg/dartium/svg_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698