Skip to content

Commit 7f14b9d

Browse files
committed
[css-properties-values-api] Define that @Property is invalid in shadows. Fixes w3c#846.
1 parent 48d9fe4 commit 7f14b9d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

css-properties-values-api/Overview.bs

+5-2
Original file line numberDiff line numberDiff line change
@@ -891,9 +891,12 @@ A custom property registration from {{CSS/registerProperty|CSS.registerProperty(
891891
further wins over any ''@property'' rules
892892
for the same <<custom-property-name>>.
893893

894+
A ''@property'' is invalid if it occurs in a stylesheet inside of a [=shadow tree=],
895+
and must be ignored.
894896

895-
Issue(846): What happens when ''@property'' appears inside a shadow tree?
896-
897+
Note: This might change in the future,
898+
as the behavior of concept-defining at-rules in shadow trees
899+
becomes more consistently defined.
897900

898901
The 'syntax' descriptor {#the-syntax-descriptor}
899902
------------------------------------------------

0 commit comments

Comments
 (0)