Skip to content

Commit 63d727b

Browse files
committed
[css-transitions-1][editorial] Dfn 'transition', fix some linking errors.
1 parent 00d8f8f commit 63d727b

File tree

1 file changed

+39
-41
lines changed

1 file changed

+39
-41
lines changed

css-transitions-1/Overview.bs

Lines changed: 39 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
<style type="text/css">
2-
div.prod { margin: 1em 2em; }
3-
4-
table.event-handlers {
5-
border-collapse: collapse;
6-
}
7-
table.event-handlers th,
8-
table.event-handlers td {
9-
padding: 0.2em 1em;
10-
}
11-
table.event-handlers td {
12-
border: 1px solid black;
13-
}
14-
</style>
15-
16-
171
<pre class="metadata">
182
Title: CSS Transitions Level 1
193
Status: ED
@@ -38,8 +22,22 @@ Status Text: <strong>This document</strong> is expected to be relatively close t
3822
Ignored Vars: x1, x2, y1, y2
3923
Link Defaults: css-transforms (property) transform
4024
</pre>
25+
<style type="text/css">
26+
div.prod { margin: 1em 2em; }
27+
28+
table.event-handlers {
29+
border-collapse: collapse;
30+
}
31+
table.event-handlers th,
32+
table.event-handlers td {
33+
padding: 0.2em 1em;
34+
}
35+
table.event-handlers td {
36+
border: 1px solid black;
37+
}
38+
</style>
4139
<pre class="link-defaults">
42-
spec:css22; type:property;
40+
spec:css2; type:property;
4341
text:top
4442
text:right
4543
text:bottom
@@ -84,6 +82,7 @@ spec:css22; type:property;
8482
spec:css-backgrounds-3; type:property;
8583
text:background-image
8684
text:background-origin
85+
text:box-shadow
8786
spec:css-color-4;
8887
type:property;
8988
text:color
@@ -137,8 +136,8 @@ Value Definitions {#values}
137136
also accept the <a>CSS-wide keywords</a> as their property value.
138137
For readability they have not been repeated explicitly.
139138

140-
<span id="transitions-">Transitions</span> {#transitions}
141-
=========================================================
139+
<h2 id="transitions" oldids="transitions-" dfn export>
140+
Transitions</h2>
142141

143142
<p>
144143
Normally when the value of a CSS property changes, the rendered result is instantly updated, with the affected elements immediately changing from the old property value to the new property value. This section describes a way to specify gradual transitions using new CSS properties. These properties are used to animate smoothly from the old state to the new state over time.
@@ -423,7 +422,7 @@ Starting of transitions {#starting}
423422
<dfn export for="transition">reversing-adjusted start value</dfn>, and <dfn export for="transition">reversing shortening factor</dfn>.
424423
Transitions are added to this set as described in this section,
425424
and are removed from this set
426-
when they <a>complete</a>
425+
when they [=transition/complete=]
427426
or when implementations are required to <dfn export for="transition">cancel</dfn> them.
428427
<span class="note">
429428
For the rationale behind the <a>reversing-adjusted start value</a>
@@ -446,7 +445,7 @@ Starting of transitions {#starting}
446445

447446
<p>
448447
If an element is no longer in the document,
449-
implementations must <a>cancel</a> any <a>running transitions</a>
448+
implementations must [=transition/cancel=] any <a>running transitions</a>
450449
on it and remove transitions on it from the
451450
<a>completed transitions</a>.
452451
</p>
@@ -670,13 +669,13 @@ Starting of transitions {#starting}
670669
start a transition whose:
671670
<ul>
672671
<li>
673-
<a>start time</a> is
672+
[=transition/start time=] is
674673
the time of the <a>style change event</a> plus
675674
the <a>matching transition delay</a>,
676675
</li>
677676
<li>
678-
<a>end time</a> is
679-
the <a>start time</a> plus
677+
[=transition/end time=] is
678+
the [=transition/start time=] plus
680679
the <a>matching transition duration</a>,
681680
</li>
682681
<li>
@@ -712,7 +711,7 @@ Starting of transitions {#starting}
712711
and there is <strong>not</strong>
713712
a <a>matching transition-property value</a>,
714713
then implementations must
715-
<a>cancel</a> the <a>running transition</a>
714+
[=transition/cancel=] the <a>running transition</a>
716715
or remove the <a>completed transition</a> from the set of
717716
<a>completed transitions</a>.
718717
</li>
@@ -730,7 +729,7 @@ Starting of transitions {#starting}
730729
the value of the property in the <a>after-change style</a>,
731730
or if these two values are not [=transitionable=],
732731
then implementations must
733-
<a>cancel</a> the <a>running transition</a>.
732+
[=transition/cancel=] the <a>running transition</a>.
734733
</li>
735734
<li>
736735
Otherwise, if the <a>combined duration</a> is
@@ -740,7 +739,7 @@ Starting of transitions {#starting}
740739
is not [=transitionable=] with
741740
the value of the property in the <a>after-change style</a>,
742741
then implementations must
743-
<a>cancel</a> the <a>running transition</a>.
742+
[=transition/cancel=] the <a>running transition</a>.
744743
</li>
745744
<li>
746745
Otherwise, if the <a>reversing-adjusted start value</a>
@@ -750,7 +749,7 @@ Starting of transitions {#starting}
750749
<a href="#reversing">section on reversing of
751750
transitions</a> for why these case exists)</span>,
752751
implementations must
753-
<a>cancel</a> the <a>running transition</a> and
752+
[=transition/cancel=] the <a>running transition</a> and
754753
start a new transition whose:
755754
<ul>
756755
<li>
@@ -782,7 +781,7 @@ Starting of transitions {#starting}
782781
have y1 or y2 outside the range [0, 1].</span>
783782
</li>
784783
<li>
785-
<a>start time</a> is
784+
[=transition/start time=] is
786785
the time of the <a>style change event</a> plus:
787786
<ol>
788787
<li>if the <a>matching transition delay</a>
@@ -797,8 +796,8 @@ Starting of transitions {#starting}
797796
</ol>
798797
</li>
799798
<li>
800-
<a>end time</a> is
801-
the <a>start time</a> plus the product of
799+
[=transition/end time=] is
800+
the [=transition/start time=] plus the product of
802801
the <a>matching transition duration</a> and
803802
the new transition's <a>reversing shortening factor</a>,
804803
</li>
@@ -816,17 +815,17 @@ Starting of transitions {#starting}
816815
</li>
817816
<li>
818817
Otherwise, implementations must
819-
<a>cancel</a> the <a>running transition</a>
818+
[=transition/cancel=] the <a>running transition</a>
820819
and start a new transition whose:
821820
<ul>
822821
<li>
823-
<a>start time</a> is
822+
[=transition/start time=] is
824823
the time of the <a>style change event</a> plus
825824
the <a>matching transition delay</a>,
826825
</li>
827826
<li>
828-
<a>end time</a> is
829-
the <a>start time</a> plus
827+
[=transition/end time=] is
828+
the [=transition/start time=] plus
830829
the <a>matching transition duration</a>,
831830
</li>
832831
<li>
@@ -987,7 +986,7 @@ Application of transitions {#application}
987986
<p>
988987
When a property on an element is undergoing a transition
989988
(that is, when or after the transition has started and before the
990-
<a>end time</a> of the transition)
989+
[=transition/end time=] of the transition)
991990
the transition adds a style called the <dfn export>current value</dfn>
992991
to the CSS cascade
993992
at the level defined for CSS Transitions in [[!CSS3CASCADE]].
@@ -1022,15 +1021,15 @@ Application of transitions {#application}
10221021

10231022
<p>
10241023
If the current time is at or before the
1025-
<a>start time</a> of the transition
1024+
[=transition/start time=] of the transition
10261025
(that is, during the delay phase of the transition),
10271026
the <a>current value</a> is a specified style that will compute
10281027
to the <a>start value</a> of the transition.
10291028
</p>
10301029

10311030
<p>
10321031
If the current time is after the
1033-
<a>start time</a> of the transition
1032+
[=transition/start time=] of the transition
10341033
(that is, during the duration phase of the transition),
10351034
the <a>current value</a> is a specified style that will compute
10361035
to the result of [=interpolating=] the property
@@ -1057,7 +1056,7 @@ Completion of transitions {#complete}
10571056
<dfn export for="transition" id="dfn-complete">complete</dfn>
10581057
at a time that is equal to or after their end time,
10591058
but prior to the first <a>style change event</a>
1060-
whose time is equal to or after their <a>end time</a>.
1059+
whose time is equal to or after their [=transition/end time=].
10611060
When a transition completes,
10621061
implementations must move
10631062
all transitions that complete at that time
@@ -1188,8 +1187,7 @@ The different types of transition events that can occur are:
11881187

11891188
<dt><dfn id=transitioncancel>transitioncancel</dfn></dt>
11901189
<dd>
1191-
The {{transitioncancel}} event occurs when a transition is <a
1192-
lt="cancel">canceled</a>.
1190+
The {{transitioncancel}} event occurs when a transition is [=transition/canceled=].
11931191

11941192
The {{TransitionEvent/elapsedTime}} for {{transitioncancel}} events is
11951193
the number of seconds from the end of the transition's delay to the

0 commit comments

Comments
 (0)