| 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 1421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1432 @DocsEditable() | 1432 @DocsEditable() |
| 1433 @DomName('SVGExternalResourcesRequired') | 1433 @DomName('SVGExternalResourcesRequired') |
| 1434 @Unstable() | 1434 @Unstable() |
| 1435 abstract class ExternalResourcesRequired extends Interceptor { | 1435 abstract class ExternalResourcesRequired extends Interceptor { |
| 1436 // To suppress missing implicit constructor warnings. | 1436 // To suppress missing implicit constructor warnings. |
| 1437 factory ExternalResourcesRequired._() { throw new UnsupportedError("Not suppor
ted"); } | 1437 factory ExternalResourcesRequired._() { throw new UnsupportedError("Not suppor
ted"); } |
| 1438 | 1438 |
| 1439 /// Checks if this type is supported on the current platform. | 1439 /// Checks if this type is supported on the current platform. |
| 1440 static bool supported(SvgElement element) => JS('bool', '#.externalResourcesRe
quired !== undefined && #.externalResourcesRequired.animVal !== undefined', elem
ent, element); | 1440 static bool supported(SvgElement element) => JS('bool', '#.externalResourcesRe
quired !== undefined && #.externalResourcesRequired.animVal !== undefined', elem
ent, element); |
| 1441 | 1441 |
| 1442 AnimatedBoolean externalResourcesRequired; | 1442 final AnimatedBoolean externalResourcesRequired; |
| 1443 } | 1443 } |
| 1444 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1444 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1445 // for details. All rights reserved. Use of this source code is governed by a | 1445 // for details. All rights reserved. Use of this source code is governed by a |
| 1446 // BSD-style license that can be found in the LICENSE file. | 1446 // BSD-style license that can be found in the LICENSE file. |
| 1447 | 1447 |
| 1448 | 1448 |
| 1449 @DocsEditable() | 1449 @DocsEditable() |
| 1450 @DomName('SVGFEBlendElement') | 1450 @DomName('SVGFEBlendElement') |
| 1451 @SupportedBrowser(SupportedBrowser.CHROME) | 1451 @SupportedBrowser(SupportedBrowser.CHROME) |
| 1452 @SupportedBrowser(SupportedBrowser.FIREFOX) | 1452 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| (...skipping 1552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3005 // BSD-style license that can be found in the LICENSE file. | 3005 // BSD-style license that can be found in the LICENSE file. |
| 3006 | 3006 |
| 3007 | 3007 |
| 3008 @DocsEditable() | 3008 @DocsEditable() |
| 3009 @DomName('SVGFilterPrimitiveStandardAttributes') | 3009 @DomName('SVGFilterPrimitiveStandardAttributes') |
| 3010 @Unstable() | 3010 @Unstable() |
| 3011 abstract class FilterPrimitiveStandardAttributes extends Interceptor { | 3011 abstract class FilterPrimitiveStandardAttributes extends Interceptor { |
| 3012 // To suppress missing implicit constructor warnings. | 3012 // To suppress missing implicit constructor warnings. |
| 3013 factory FilterPrimitiveStandardAttributes._() { throw new UnsupportedError("No
t supported"); } | 3013 factory FilterPrimitiveStandardAttributes._() { throw new UnsupportedError("No
t supported"); } |
| 3014 | 3014 |
| 3015 AnimatedLength height; | 3015 final AnimatedLength height; |
| 3016 | 3016 |
| 3017 AnimatedString result; | 3017 final AnimatedString result; |
| 3018 | 3018 |
| 3019 AnimatedLength width; | 3019 final AnimatedLength width; |
| 3020 | 3020 |
| 3021 AnimatedLength x; | 3021 final AnimatedLength x; |
| 3022 | 3022 |
| 3023 AnimatedLength y; | 3023 final AnimatedLength y; |
| 3024 } | 3024 } |
| 3025 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3025 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3026 // for details. All rights reserved. Use of this source code is governed by a | 3026 // for details. All rights reserved. Use of this source code is governed by a |
| 3027 // BSD-style license that can be found in the LICENSE file. | 3027 // BSD-style license that can be found in the LICENSE file. |
| 3028 | 3028 |
| 3029 | 3029 |
| 3030 @DocsEditable() | 3030 @DocsEditable() |
| 3031 @DomName('SVGFitToViewBox') | 3031 @DomName('SVGFitToViewBox') |
| 3032 @Unstable() | 3032 @Unstable() |
| 3033 abstract class FitToViewBox extends Interceptor { | 3033 abstract class FitToViewBox extends Interceptor { |
| 3034 // To suppress missing implicit constructor warnings. | 3034 // To suppress missing implicit constructor warnings. |
| 3035 factory FitToViewBox._() { throw new UnsupportedError("Not supported"); } | 3035 factory FitToViewBox._() { throw new UnsupportedError("Not supported"); } |
| 3036 | 3036 |
| 3037 AnimatedPreserveAspectRatio preserveAspectRatio; | 3037 final AnimatedPreserveAspectRatio preserveAspectRatio; |
| 3038 | 3038 |
| 3039 AnimatedRect viewBox; | 3039 final AnimatedRect viewBox; |
| 3040 } | 3040 } |
| 3041 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3041 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3042 // for details. All rights reserved. Use of this source code is governed by a | 3042 // for details. All rights reserved. Use of this source code is governed by a |
| 3043 // BSD-style license that can be found in the LICENSE file. | 3043 // BSD-style license that can be found in the LICENSE file. |
| 3044 | 3044 |
| 3045 | 3045 |
| 3046 @DocsEditable() | 3046 @DocsEditable() |
| 3047 @DomName('SVGForeignObjectElement') | 3047 @DomName('SVGForeignObjectElement') |
| 3048 @SupportedBrowser(SupportedBrowser.CHROME) | 3048 @SupportedBrowser(SupportedBrowser.CHROME) |
| 3049 @SupportedBrowser(SupportedBrowser.FIREFOX) | 3049 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| (...skipping 3344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6394 // BSD-style license that can be found in the LICENSE file. | 6394 // BSD-style license that can be found in the LICENSE file. |
| 6395 | 6395 |
| 6396 | 6396 |
| 6397 @DocsEditable() | 6397 @DocsEditable() |
| 6398 @DomName('SVGTests') | 6398 @DomName('SVGTests') |
| 6399 @Unstable() | 6399 @Unstable() |
| 6400 abstract class Tests extends Interceptor { | 6400 abstract class Tests extends Interceptor { |
| 6401 // To suppress missing implicit constructor warnings. | 6401 // To suppress missing implicit constructor warnings. |
| 6402 factory Tests._() { throw new UnsupportedError("Not supported"); } | 6402 factory Tests._() { throw new UnsupportedError("Not supported"); } |
| 6403 | 6403 |
| 6404 StringList requiredExtensions; | 6404 final StringList requiredExtensions; |
| 6405 | 6405 |
| 6406 StringList requiredFeatures; | 6406 final StringList requiredFeatures; |
| 6407 | 6407 |
| 6408 StringList systemLanguage; | 6408 final StringList systemLanguage; |
| 6409 | 6409 |
| 6410 bool hasExtension(String extension); | 6410 bool hasExtension(String extension); |
| 6411 } | 6411 } |
| 6412 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6412 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6413 // for details. All rights reserved. Use of this source code is governed by a | 6413 // for details. All rights reserved. Use of this source code is governed by a |
| 6414 // BSD-style license that can be found in the LICENSE file. | 6414 // BSD-style license that can be found in the LICENSE file. |
| 6415 | 6415 |
| 6416 | 6416 |
| 6417 @DocsEditable() | 6417 @DocsEditable() |
| 6418 @DomName('SVGTextContentElement') | 6418 @DomName('SVGTextContentElement') |
| (...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6835 // BSD-style license that can be found in the LICENSE file. | 6835 // BSD-style license that can be found in the LICENSE file. |
| 6836 | 6836 |
| 6837 | 6837 |
| 6838 @DocsEditable() | 6838 @DocsEditable() |
| 6839 @DomName('SVGURIReference') | 6839 @DomName('SVGURIReference') |
| 6840 @Unstable() | 6840 @Unstable() |
| 6841 abstract class UriReference extends Interceptor { | 6841 abstract class UriReference extends Interceptor { |
| 6842 // To suppress missing implicit constructor warnings. | 6842 // To suppress missing implicit constructor warnings. |
| 6843 factory UriReference._() { throw new UnsupportedError("Not supported"); } | 6843 factory UriReference._() { throw new UnsupportedError("Not supported"); } |
| 6844 | 6844 |
| 6845 AnimatedString href; | 6845 final AnimatedString href; |
| 6846 } | 6846 } |
| 6847 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6847 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6848 // for details. All rights reserved. Use of this source code is governed by a | 6848 // for details. All rights reserved. Use of this source code is governed by a |
| 6849 // BSD-style license that can be found in the LICENSE file. | 6849 // BSD-style license that can be found in the LICENSE file. |
| 6850 | 6850 |
| 6851 | 6851 |
| 6852 @DocsEditable() | 6852 @DocsEditable() |
| 6853 @DomName('SVGUseElement') | 6853 @DomName('SVGUseElement') |
| 6854 @Unstable() | 6854 @Unstable() |
| 6855 class UseElement extends GraphicsElement implements UriReference, ExternalResour
cesRequired, Tests native "SVGUseElement" { | 6855 class UseElement extends GraphicsElement implements UriReference, ExternalResour
cesRequired, Tests native "SVGUseElement" { |
| (...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7579 @DomName('SVGVKernElement.SVGVKernElement') | 7579 @DomName('SVGVKernElement.SVGVKernElement') |
| 7580 @DocsEditable() | 7580 @DocsEditable() |
| 7581 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); | 7581 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); |
| 7582 /** | 7582 /** |
| 7583 * Constructor instantiated by the DOM when a custom element has been created. | 7583 * Constructor instantiated by the DOM when a custom element has been created. |
| 7584 * | 7584 * |
| 7585 * This can only be called by subclasses from their created constructor. | 7585 * This can only be called by subclasses from their created constructor. |
| 7586 */ | 7586 */ |
| 7587 _SVGVKernElement.created() : super.created(); | 7587 _SVGVKernElement.created() : super.created(); |
| 7588 } | 7588 } |
| OLD | NEW |