ADDITIVE Attribute | additive Property

This topic documents a feature of HTML+TIME 2.0, which is obsolete as of Windows Internet Explorer 9.

Sets or gets a value that indicates whether the animation is additive with other animations.


Scripting [ sType = ] object.additive [ = sType ]

Possible Values

sType String that specifies or receives one of the following values.
Default. The animation overrides the underlying value of the attribute and other lower priority animations.
The animation adds to the underlying value of the attribute and other lower priority animations.

The property is read/write. The property has a default value of replace.


Attribute types such as strings and Booleans, for which addition is not defined, cannot support additive animation.

The to and by attribute values that are used to describe the animation function, can override the additive attribute in certain cases. If by is used without from, the animation is defined to be additive. This is the equivalent of additive="sum." If to is used without from, and if the attribute supports addition; then the animation is defined as a hybrid of additive and nonadditive. The underlying value is used as a starting point as with additive animation; however, the ending value specified by the to attribute overrides the underlying value as though the animation was nonadditive.

The accumulate attribute should not be confused with the additive attribute. The additive attribute defines how an animation is combined with other animations and the base value of the attribute. The accumulate attribute defines only how the animation function interacts with itself, across repeat iterations.

Standards Information

This property is defined in Synchronized Multimedia Integration Language (SMIL) 2.0.

Applies To


See Also

Introduction to HTML+TIME

Community Additions