Skip to content

Commit 4977943

Browse files
committed
[css-animations] Clarify rules on animation shorthand parsing, as discussed in the face-to-face meeting earlier today.
1 parent feac66a commit 4977943

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

css-animations/Overview.bs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,9 @@ The 'animation' shorthand property</h3>
677677

678678
Note that order is also important within each animation definition for distinguishing
679679
<<single-animation-name>> values from other keywords. When parsing, keywords that are valid for
680-
properties other than 'animation-name' must be accepted for those properties rather than for
680+
properties other than 'animation-name'
681+
whose values were not found earlier in the shorthand
682+
must be accepted for those properties rather than for
681683
'animation-name'. Furthermore, when serializing, default values of other properties must be
682684
output in at least the cases necessary to distinguish an 'animation-name' that could
683685
be a value of another property, and may be output in additional cases.

css-animations/Overview.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,9 @@ <h3 class="heading settled heading" data-level=4.10 id=animation><span class=sec
721721

722722
<p>Note that order is also important within each animation definition for distinguishing
723723
<a class="production css-code" data-link-type=type href=#typedef-single-animation-name title="<single-animation-name>">&lt;single-animation-name&gt;</a> values from other keywords. When parsing, keywords that are valid for
724-
properties other than <a class=property data-link-type=propdesc href=#propdef-animation-name title=animation-name>animation-name</a> must be accepted for those properties rather than for
724+
properties other than <a class=property data-link-type=propdesc href=#propdef-animation-name title=animation-name>animation-name</a>
725+
whose values were not found earlier in the shorthand
726+
must be accepted for those properties rather than for
725727
<a class=property data-link-type=propdesc href=#propdef-animation-name title=animation-name>animation-name</a>. Furthermore, when serializing, default values of other properties must be
726728
output in at least the cases necessary to distinguish an <a class=property data-link-type=propdesc href=#propdef-animation-name title=animation-name>animation-name</a> that could
727729
be a value of another property, and may be output in additional cases.</p>

0 commit comments

Comments
 (0)