Skip to content

Commit 94e003b

Browse files
[css-anchor-position-1] Apply only allowed properties when applying fallback style (w3c#9044)
Co-authored-by: Tab Atkins Jr <jackalmage@gmail.com>
1 parent a2d28d3 commit 94e003b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

css-anchor-position-1/Overview.bs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,8 @@ is the rule's name.
878878
If multiple ''@position-fallback'' rules are declared with the same name,
879879
the last one in document order "wins".
880880

881-
The ''@try'' rule only accepts the following [=properties=]:
881+
The ''@try'' rule only <dfn lt="accepted @try properties">accepts</dfn>
882+
the following [=properties=]:
882883

883884
* [=inset properties=]
884885
* [=sizing properties=]
@@ -1007,7 +1008,8 @@ to trigger automatic "animation" of the fallback'd properties.
10071008

10081009
2. [=list/For each=] |fallback styles| in the [=position fallback list=]:
10091010

1010-
1. Apply the styles in |fallback styles| to |el|,
1011+
1. Apply the values of the [=accepted @try properties=]
1012+
in |fallback styles| to |el|,
10111013
overriding the corresponding properties in |base styles|.
10121014

10131015
Perform any specified/computed/used-value time normalizations

0 commit comments

Comments
 (0)