Skip to content

Commit bfda1f8

Browse files
committed
[css-transitions] Add note to TransitionEvent.propertyName explaining why it's always a longhand.
This addresses the feedback in the twitter thread at: https://twitter.com/smfr/status/839517021104545793
1 parent e565b52 commit bfda1f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

css-transitions/Overview.bs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,6 +1114,7 @@ associated with transitions.
11141114

11151115
: <code class='attribute-name'><dfn attribute for="TransitionEvent" id="Events-TransitionEvent-propertyName">propertyName</dfn></code> of type <code>DOMString</code>, readonly
11161116
:: The name of the CSS property associated with the transition.
1117+
<p class="note">Note: This is always the name of a longhand property. See 'transition-property' for how specifying shorthand properties causes transitions on longhands.</p>
11171118
: <code class='attribute-name'><dfn attribute for="TransitionEvent" id="Events-TransitionEvent-elapsedTime">elapsedTime</dfn></code> of type <code>float</code>, readonly
11181119
:: The amount of time the transition has been running, in seconds, when this
11191120
event fired not including any time spent in the delay phase. The precise

0 commit comments

Comments
 (0)