Skip to content

Commit 682c42b

Browse files
committed
[css-transitions-2] Specify mapping of transitions properties to Web Animations API
1 parent 0b25667 commit 682c42b

File tree

1 file changed

+20
-9
lines changed

1 file changed

+20
-9
lines changed

css-transitions-2/Overview.bs

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,38 @@ spec:css-transitions-1; type:dfn; text:cancel
6969
Once the Level 1 specification is closer to complete, it will be merged
7070
with the additions here into a complete level 2 specification.</p>
7171

72+
7273
# Transitions # {#transitions}
7374

75+
## The 'transition-property' Property ## {#transition-name-property}
76+
77+
Although the 'transition-property' may specify shorthand properties and the
78+
''all'' keyword, individual transitions are generated for each longhand
79+
sub-property that is animatable. The <dfn>expanded transition property
80+
name</dfn> of a transition is the name of the longhand sub-property for which
81+
the transition was generated (e.g. 'border-left-width').
82+
83+
## The 'transition-duration' Property ## {#transition-duration-property}
84+
85+
The 'transition-duration' property specifies the [=iteration duration=]
86+
of the transition's associated [=animation effect=].
87+
7488
## The 'transition-timing-function' Property ## {#transition-timing-function-property}
7589

7690
The 'transition-timing-function' property specifies the [=timing function=]
77-
associated with a transition's [=animation effect=]
91+
of the transition's associated [=animation effect=]
7892
(see [[web-animations-1#time-transformations]]).
7993

8094
Note: Unlike CSS animations, the timing function for CSS transitions applies to
8195
the animation effect as opposed to the individual keyframes since this allows
8296
it to be reflected in the <a>transformed progress</a> as used when calculating
8397
the reversing shortening factor.
8498

99+
## The 'transition-delay' Property ## {#transition-delay-property}
100+
101+
The 'transition-delay' property specifies the [=start delay=]
102+
of the transition's associated [=animation effect=].
103+
85104

86105
# Starting of transitions # {#starting}
87106

@@ -113,14 +132,6 @@ Each time a new transition is generated, the current value of the (already
113132
incremented) <a>current transition generation</a> is stored as the
114133
transition's <dfn>transition generation</dfn>.
115134

116-
## The transition property name ## {#transition-property-name}
117-
118-
Although the 'transition-property' may specify shorthand properties and the
119-
''all'' keyword, individual transitions are generated for each longhand
120-
sub-property that is animatable. The <dfn>expanded transition property
121-
name</dfn> of a transition is the name of the longhand sub-property for which
122-
the transition was generated (e.g. 'border-left-width').
123-
124135
## Owning element ## {#owning-element-section}
125136

126137
The <dfn>owning element</dfn> of a transition refers to the element or

0 commit comments

Comments
 (0)