Skip to content

Commit be5e75b

Browse files
committed
[css-syntax-3] Slightly rewrite the definition of 'declaration' to encompass its conceptual definition as well as its syntax dfn. Probably needs more work.
1 parent 6cfad9b commit be5e75b

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

css-syntax-3/Overview.bs

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1671,13 +1671,18 @@ Parsing
16711671

16721672
declaration
16731673
1674-
A declaration has a name,
1674+
Conceptually, declarations are a particular instance of
1675+
associating a property or descriptor name with a value.
1676+
Syntactically, a declaration has a name,
16751677
a value consisting of a list of component values,
16761678
and an important flag which is initially unset.
16771679

1678-
Declarations are further categorized as "properties" or "descriptors",
1679-
with the former typically appearing in qualified rules
1680-
and the latter appearing in at-rules.
1680+
Declarations are further categorized
1681+
as property declarations or descriptor declarations,
1682+
with the former setting CSS [=properties=]
1683+
and appearing most often in qualified rules
1684+
and the latter setting CSS [=descriptors=],
1685+
which appear only in at-rules.
16811686
(This categorization does not occur at the Syntax level;
16821687
instead, it is a product of where the declaration appears,
16831688
and is defined by the respective specifications defining the given rule.)

0 commit comments

Comments
 (0)