File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
css-properties-values-api Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -850,6 +850,7 @@ CSSOM {#cssom}
850
850
return the result.
851
851
</div>
852
852
853
+
853
854
The <dfn>@property</dfn> rule {#at-property-rule}
854
855
=================================================
855
856
@@ -884,8 +885,12 @@ if it's missing, the entire rule is invalid and must be ignored.
884
885
If an ''@property'' rule contains any unknown descriptors,
885
886
the entire rule is invalid and must be ignored.
886
887
887
- Issue(845): What happens when we have both an ''@property'' rule, and a
888
- {{registerProperty()}} call for the same property?
888
+ If multiple valid ''@property'' rules are defined for the same <<custom-property-name>> ,
889
+ the last one in stylesheet order "wins".
890
+ A custom property registration from {{CSS/registerProperty|CSS.registerProperty()}}
891
+ further wins over any ''@property'' rules
892
+ for the same <<custom-property-name>> .
893
+
889
894
890
895
Issue(846): What happens when ''@property'' appears inside a shadow tree?
891
896
You can’t perform that action at this time.
0 commit comments