Skip to content

Commit e3e5be5

Browse files
cdoublevsvgeesus
authored andcommitted
[css-color-hdr-1] Remove duplicate productions
They are already existing as is in CSS Color 5.
1 parent e9f095c commit e3e5be5

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

css-color-hdr-1/Overview.bs

+2-6
Original file line numberDiff line numberDiff line change
@@ -602,26 +602,22 @@ Mixing Dynamic Range Limits: the ''dynamic-range-limit-mix()'' function {#dynami
602602
in a particular, given [=color space=]
603603
(rather than the implicit sRGB color space that most of the other color functions operate in).
604604

605-
In this specification the ''color()'' function is extended
605+
In this specification,
606+
the <<colorspace-params>> taken by the ''color()'' function is extended
606607
to allow <a href="#predefined-HDR">predefined color spaces for HDR</a>,
607608
in addition to the predefined SDR spaces from [[css-color-4#predefined]]
608609
and the relative color syntax from [[css-color-5#relative-colors]].
609610

610611
Its syntax is now as follows:
611612

612613
<pre class='prod'>
613-
<dfn>color()</dfn> = color( [from <<color>>]? <<colorspace-params>> [ / [ <<alpha-value>> | none ] ]? )
614614
<dfn>&lt;colorspace-params></dfn> = [<<custom-params>> | <<predefined-rgb-params>> |
615615
<<predefined-polar-params>> | <<predefined-rectangular-params>> | <<xyz-params>>]
616-
<dfn>&lt;custom-params></dfn> = <<dashed-ident>> [ <<number>> | <<percentage>> | none ]+
617-
<dfn>&lt;predefined-rgb-params></dfn> = <<predefined-rgb>> [ <<number>> | <<percentage>> | none ]{3}
618616
<dfn>&lt;predefined-polar-params></dfn> = jzczhz [ <<number>> | <<percentage>> | none ]{2} [ <<hue>> | none]
619617
<dfn>&lt;predefined-rectangular-params></dfn> = <<predefined-rectangular>> [ <<number>> | <<percentage>> | none ]{3}
620618
<dfn>&lt;predefined-rgb></dfn> = srgb | srgb-linear | display-p3 | a98-rgb | prophoto-rgb | rec2020 |
621619
rec2100-pq | rec2100-hlg | rec2100-linear
622620
<dfn>&lt;predefined-rectangular></dfn> = jzazbz | ictcp
623-
<dfn>&lt;xyz-params></dfn> = <<xyz>> [ <<number>> | <<percentage>> | none ]{3}
624-
<dfn>&lt;xyz></dfn> = xyz | xyz-d50 | xyz-d65
625621
</pre>
626622

627623

0 commit comments

Comments
 (0)