Skip to content

Commit e5fcc52

Browse files
committed
[css-color-4][editorial] Added clarifying note to alpha value syntax, that modern formats also take the value none.
This was clear in the individual syntax definitions but could mislead someone reading this section by itself.
1 parent 29b7523 commit e5fcc52

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

css-color-4/Overview.bs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1099,6 +1099,12 @@ Representing Transparency in Colors: the <<alpha-value>> syntax</h3>
10991099
<dfn dfn-for="<color>">&lt;alpha-value></dfn> = <<number>> | <<percentage>>
11001100
</pre>
11011101

1102+
Note: This syntax is used as-is for [=legacy color syntax=].
1103+
For [=modern color syntax=],
1104+
it is extended
1105+
so that alpha components
1106+
can also take the value ''none''.
1107+
11021108
Unless otherwise specified,
11031109
an <<alpha-value>> component of a color defaults to ''100%'' when omitted.
11041110
Values outside the range [0,1] are not invalid,

0 commit comments

Comments
 (0)