Skip to content

Commit

Permalink
Add href attribute to animation elements
Browse files Browse the repository at this point in the history
Fixes #595.
  • Loading branch information
birtles committed Nov 21, 2018
1 parent 889ed2d commit 5581414
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions specs/animations/master/definitions.xml
Expand Up @@ -10,13 +10,13 @@
contentmodel='anyof'
elementcategories='descriptive'
elements='script'
attributecategories='animation addition, animation event, animation attribute target, animation timing, animation value, conditional processing, core, global event, document element event, presentation, xlink'
attributecategories='animation addition, animation event, animation target element, animation attribute target, animation timing, animation value, conditional processing, core, global event, document element event, presentation'
interfaces='SVGAnimateElement'/>

<element
name='animateMotion'
href='#AnimateMotionElement'
attributecategories='animation addition, animation event, animation timing, animation value, conditional processing, core, global event, document element event, xlink'
attributecategories='animation addition, animation event, animation target element, animation timing, animation value, conditional processing, core, global event, document element event'
interfaces='SVGAnimateMotionElement'>
<x:contentmodel xmlns='http://www.w3.org/1999/xhtml'>Any number of <a>descriptive elements</a>, <a>'script'</a> and at most one <a>'mpath'</a> element, in any order.</x:contentmodel>
<!--
Expand All @@ -34,7 +34,7 @@
contentmodel='anyof'
elementcategories='descriptive'
elements='script'
attributecategories='animation addition, animation event, animation attribute target, animation timing, animation value, conditional processing, core, global event, document element event, xlink'
attributecategories='animation addition, animation event, animation target element, animation attribute target, animation timing, animation value, conditional processing, core, global event, document element event'
interfaces='SVGAnimateTransformElement'>
<attribute name='type' href='#AnimateTransformElementTypeAttribute'/>
</element>
Expand All @@ -56,7 +56,7 @@
contentmodel='anyof'
elementcategories='descriptive'
elements='script'
attributecategories='core, global event, document element event, xlink'
attributecategories='core, global event, document element event'
interfaces='SVGMPathElement'>
<attribute name='href' href='#MPathElementHrefAttribute'/>
</element>
Expand All @@ -67,7 +67,7 @@
contentmodel='anyof'
elementcategories='descriptive'
elements='script'
attributecategories='animation event, animation attribute target, animation timing, conditional processing, core, global event, document element event, xlink'
attributecategories='animation event, animation target element, animation attribute target, animation timing, conditional processing, core, global event, document element event'
interfaces='SVGSetElement'>
<attribute name='to' href='#SetElementToAttribute'/>
</element>
Expand Down Expand Up @@ -99,6 +99,12 @@
<attribute name='onrepeat' href='http://svgwg.org/svg2-draft/interact.html#OnRepeatEventAttribute'/>
</attributecategory>

<attributecategory
name='animation target element'
href='#TargetElement'>
<attribute name='href' href='#HrefAttribute'/>
</attributecategory>

<attributecategory
name='animation attribute target'
href='#AttributeNameAttribute'>
Expand Down

0 comments on commit 5581414

Please sign in to comment.