attributetype

attributetype

This attribute specifies the namespace in which the target attribute and its associated values are defined.

Usage context

Categories Animation attribute target attribute
Value CSS | XML | auto
Animatable No
Normative document SVG 1.1 (2nd Edition)

This attribute can take one of the following values :

CSS
This specifies that the value of attributeName is the name of a CSS property defined as animatable.
XML
This specifies that the value of attributeName is the name of an XML attribute defined as animatable in the default XML namespace for the target element.
auto
The implementation should match the attributeName to an attribute for the target element. User-agents first search through the list of CSS properties for a matching property name, and if none is found, search the default XML namespace for the element.

Example

Elements

The following elements can use the attributeType attribute

© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/attributeType

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部