Skip to content

Commit 698e0b4

Browse files
committed
[css-color-5] RCS modern rgb & rgba syntax, w3c#8231
1 parent c58ec49 commit 698e0b4

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

css-color-5/Overview.bs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,13 +1023,12 @@ However, if calculations are done on missing values, ''none'' is treated as 0.
10231023
The grammar of the [=modern color syntax=] ''rgb()'' and ''rgba()'' functions are extended as follows:
10241024

10251025
<pre class='prod'>
1026-
<dfn>rgb()</dfn> = rgb( [ from <<color>> ]?
1026+
<dfn><<modern-rgb-syntax>></dfn> = rgb( [ from <<color>> ]?
10271027
[ <<number>> | <<percentage>> | none]{3}
10281028
[ / [<<alpha-value>> | none] ]? )
1029-
<dfn>rgba()</dfn> = rgba( [ from <<color>> ]?
1029+
<dfn><<modern-rgba-syntax>></dfn> = rgba( [ from <<color>> ]?
10301030
[ <<number>> | <<percentage>> | none]{3}
10311031
[ / [<<alpha-value>> | none] ]? )
1032-
<dfn>&lt;alpha-value></dfn> = <<number>> | <<percentage>>
10331032
</pre>
10341033

10351034

0 commit comments

Comments
 (0)