Skip to content

Commit f0cdd1b

Browse files
committed
[css-variables] Clarify language.
1 parent 94d20c5 commit f0cdd1b

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

css-variables/Overview.bs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,8 @@ Variables in Shorthand Properties</h3>
603603

604604
The use of ''var()'' functions in <a>shorthand properties</a> presents some unique difficulties.
605605

606-
Ordinarily, the value of a shorthand property is separated out into its component <a>longhand properties</a> at parse time,
606+
For non-custom properties,
607+
the value of a shorthand property is separated out into its component <a>longhand properties</a> at parse time,
607608
and then the longhands themselves participate in the <a>cascade</a>,
608609
with the shorthand more-or-less discarded.
609610
If a ''var()'' functions is used in a shorthand, however,
@@ -670,9 +671,9 @@ Serializing Custom Properties</h3>
670671

671672
Custom property names must be serialized with the casing as provided by the author.
672673

673-
<p class='note'>
674-
Ordinarily, property names are restricted to the ASCII range and are <a>ASCII case-insensitive</a>,
675-
so implementations typically serialize the name lowercased.
674+
Note: For non-custom properties,
675+
property names are restricted to the ASCII range and are <a>ASCII case-insensitive</a>,
676+
so implementations typically serialize the name lowercased.
676677

677678

678679

0 commit comments

Comments
 (0)