css3-animations/Overview.src.html

changeset 7223
95ab6f984d3b
parent 7177
ec77e31091f6
child 7230
550175952d0f
     1.1 --- a/css3-animations/Overview.src.html	Mon Jan 28 07:43:49 2013 -0800
     1.2 +++ b/css3-animations/Overview.src.html	Mon Jan 28 09:11:52 2013 -0800
     1.3 @@ -1065,11 +1065,13 @@
     1.4  interface AnimationEvent : <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event">Event</a> {
     1.5    readonly attribute DOMString <a href="#AnimationEvent-animationName" title="AnimationEvent-lengthComputable">animationName</a>;
     1.6    readonly attribute float <a href="#AnimationEvent-elapsedTime" title="dom-ProgressEvent-loaded">elapsedTime</a>;
     1.7 +  readonly attribute DOMString <a href="#AnimationEvent-pseudoElement" title="AnimationEvent-pseudoElement">pseudoElement</a>;
     1.8  };
     1.9  
    1.10  dictionary AnimationEventInit : <a class="external" href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#eventinit">EventInit</a> {
    1.11    DOMString <span title="AnimationEventInit-animationName">animationName</span>;
    1.12    float <span title="AnimationEventInit-loaded">elapsedTime</span>;
    1.13 +  DOMString <span title="AnimationEventInit-pseudoElement">pseudoElement</span>;
    1.14  }
    1.15  
    1.16  </pre>
    1.17 @@ -1092,6 +1094,14 @@
    1.18  			For an "animationstart" event, 
    1.19  			the elapsedTime is zero unless there was a negative value for 'animation-delay', 
    1.20  			in which case the event will be fired with an <code>elapsedTime</code> of (-1 * delay).
    1.21 +
    1.22 +		<dt><code><dfn id='AnimationEvent-pseudoElement'>pseudoElement</dfn></code> of type <code>DOMString</code>, readonly
    1.23 +		<dd>
    1.24 +			The name (beginning with two colons) of the CSS pseudo-element on 
    1.25 +			which the animation runs (in which case the target of the event 
    1.26 +			is that pseudo-element's corresponding element), or the empty string
    1.27 +			if the animation runs on an element (which means the target of the event 
    1.28 +			is that element).			
    1.29  	</dl>
    1.30  
    1.31  	<p>

mercurial