Skip to content

Commit 3046e8d

Browse files
committed
[css-transitions-2] Fix almost all bikeshed warnings.
This fixes all bikeshed warnings except for: WARNING: This specification has neither a 'Security Considerations' nor a 'Privacy Considerations' section. Please consider adding both, see https://w3ctag.github.io/security-questionnaire/. Note that this changes one (relatively recently added) ID for a heading from #defining-before-change-style-the-starting-style-rule to #defining-before-change-style.
1 parent 75cecb9 commit 3046e8d

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

css-transitions-2/Overview.bs

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ spec:web-animations-1; type:dfn;
5050
text:current time; for:animation
5151
text:current iteration
5252
text:fill mode
53-
text:idle
54-
text:idle play state
53+
text:idle; for:play state
5554
text:iteration duration
5655
text:iteration start
5756
text:pending pause task
@@ -77,7 +76,7 @@ and backport the following paragraph.
7776

7877
Although the 'transition-property' may specify shorthand properties and the
7978
''all'' keyword, individual transitions are generated for each longhand
80-
sub-property that is transitionable. The <dfn>expanded transition property
79+
sub-property that is [=transitionable=]. The <dfn>expanded transition property
8180
name</dfn> of a transition is the name of the longhand sub-property for which
8281
the transition was generated (e.g. 'border-left-width').
8382

@@ -86,7 +85,7 @@ once it is ported from Level 1.
8685

8786
In CSS Transitions Level 2, when comparing the [=before-change style=] and
8887
[=after-change style=] for a given property, the property values are
89-
[=transitionable=] if:
88+
<dfn>transitionable</dfn> if:
9089
<ol>
9190
<li>They have an [=animation type=] that is neither [=not animatable=] nor
9291
[=discrete=], or</li>
@@ -199,7 +198,7 @@ Each time a new transition is generated, the current value of the (already
199198
incremented) <a>current transition generation</a> is stored as the
200199
transition's <dfn>transition generation</dfn>.
201200

202-
## Defining [=before-change style=]: the ''@starting-style'' rule
201+
## Defining [=before-change style=]: the ''@starting-style'' rule ## {#defining-before-change-style}
203202

204203
In Level 1 of this specification, transitions can only start during a
205204
[=style change event=] for elements which have a defined [=before-change style=]
@@ -307,7 +306,7 @@ Global, name-defining at-rules such as ''@keyframes'', ''@font-face'', and
307306
''@layer'' are allowed inside ''@starting-style'', and when present behave as
308307
if they were outside of ''@starting-style''.
309308

310-
### The <code>CSSStartingStyleRule</code> interface
309+
### The <code>CSSStartingStyleRule</code> interface ### {#the-cssstartingstylerule-interface}
311310

312311
The {{CSSStartingStyleRule}} interface represents a ''@starting-style'' rule.
313312

@@ -365,15 +364,15 @@ are sorted in composite order (first to last) as follows:
365364
Transitions generated using the markup defined in this specification are
366365
<em>not</em> added to the <a>global animation list</a> when they are created.
367366
Instead, these animations are appended to the <a>global animation list</a> at
368-
the first moment when they transition out of the <a>idle play state</a> after
367+
the first moment when they transition out of the [=play state/idle|idle play state=] after
369368
being disassociated from their <a>owning element</a>.
370369
Transitions that have been disassociated from their <a>owning element</a>
371-
but are still <a lt="idle play state">idle</a> do not have a defined
370+
but are still [=play state/idle=] do not have a defined
372371
composite order.
373372

374373
Note, this behavior relies on the fact that disassociating a transition
375374
from its <a>owning element</a> always causes it to enter (or remain) in the
376-
<a>idle play state</a>.
375+
[=play state/idle|idle play state=].
377376

378377
## Animation cascade level ## {#cascade-level}
379378

0 commit comments

Comments
 (0)