Skip to content

Commit a0e018d

Browse files
andruudtabatkins
authored andcommitted
[css-properties-values-api] Use HTML entity for 'less than'. (w3c#875)
1 parent cf94532 commit a0e018d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

css-properties-values-api/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,12 +334,12 @@ so long as you don't violate the (very liberal) syntax for custom properties.
334334

335335
Registering a custom property does not change this.
336336
Even if a custom property is, for example,
337-
registered with `syntax: "<color>"`,
337+
registered with `syntax: "&lt;color>"`,
338338
a rule like `@supports (--foo: 1em) {...}`
339339
will still evaluate as true and apply those styles.
340340

341341
Note: This matches the parsing behavior of registered custom properties.
342-
A registered custom property specified as `"<color>"`
342+
A registered custom property specified as `"&lt;color>"`
343343
but written as `--foo: 1em;` will still be accepted as valid at parse-time,
344344
but be automatically [=invalid at computed-value time=].
345345
As ''@supports'' tests parse behavior,

0 commit comments

Comments
 (0)