| OLD | NEW |
| 1 library dart.dom.svg; | 1 library dart.dom.svg; |
| 2 | 2 |
| 3 import 'dart:async'; | 3 import 'dart:async'; |
| 4 import 'dart:collection'; | 4 import 'dart:collection'; |
| 5 import 'dart:html'; | 5 import 'dart:html'; |
| 6 import 'dart:html_common'; | 6 import 'dart:html_common'; |
| 7 import 'dart:nativewrappers'; | 7 import 'dart:nativewrappers'; |
| 8 // DO NOT EDIT | 8 // DO NOT EDIT |
| 9 // Auto-generated dart:svg library. | 9 // Auto-generated dart:svg library. |
| 10 | 10 |
| (...skipping 6502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6513 for (String name in classname.split(' ')) { | 6513 for (String name in classname.split(' ')) { |
| 6514 String trimmed = name.trim(); | 6514 String trimmed = name.trim(); |
| 6515 if (!trimmed.isEmpty) { | 6515 if (!trimmed.isEmpty) { |
| 6516 s.add(trimmed); | 6516 s.add(trimmed); |
| 6517 } | 6517 } |
| 6518 } | 6518 } |
| 6519 return s; | 6519 return s; |
| 6520 } | 6520 } |
| 6521 | 6521 |
| 6522 void writeClasses(Set s) { | 6522 void writeClasses(Set s) { |
| 6523 List list = new List.from(s); | 6523 _element.attributes['class'] = s.join(' '); |
| 6524 _element.attributes['class'] = Strings.join(list, ' '); | |
| 6525 } | 6524 } |
| 6526 } | 6525 } |
| 6527 | 6526 |
| 6528 @DomName('SVGElement') | 6527 @DomName('SVGElement') |
| 6529 class SvgElement extends Element { | 6528 class SvgElement extends Element { |
| 6530 factory SvgElement.tag(String tag) => | 6529 factory SvgElement.tag(String tag) => |
| 6531 _SvgElementFactoryProvider.createSvgElement_tag(tag); | 6530 _SvgElementFactoryProvider.createSvgElement_tag(tag); |
| 6532 factory SvgElement.svg(String svg) => | 6531 factory SvgElement.svg(String svg) => |
| 6533 _SvgElementFactoryProvider.createSvgElement_svg(svg); | 6532 _SvgElementFactoryProvider.createSvgElement_svg(svg); |
| 6534 | 6533 |
| (...skipping 2136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8671 @DocsEditable | 8670 @DocsEditable |
| 8672 @DomName('SVGVKernElement') | 8671 @DomName('SVGVKernElement') |
| 8673 class _SVGVKernElement extends SvgElement { | 8672 class _SVGVKernElement extends SvgElement { |
| 8674 _SVGVKernElement.internal() : super.internal(); | 8673 _SVGVKernElement.internal() : super.internal(); |
| 8675 | 8674 |
| 8676 @DomName('SVGVKernElement.SVGVKernElement') | 8675 @DomName('SVGVKernElement.SVGVKernElement') |
| 8677 @DocsEditable | 8676 @DocsEditable |
| 8678 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); | 8677 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); |
| 8679 | 8678 |
| 8680 } | 8679 } |
| OLD | NEW |