Skip to content

Commit e590653

Browse files
committed
[css-color-4] Consistently return output of GMA in the destination color space #9651
1 parent c493601 commit e590653

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css-color-4/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5469,7 +5469,7 @@ Sample Pseudocode for the Binary Search Gamut Mapping Algorithm with Local MINDE
54695469
to be in gamut of a destination color space |destination|:
54705470

54715471
<ol>
5472-
<li>if |destination| has no gamut limits (XYZ-D65, XYZ-D50, Lab, LCH, Oklab, Oklch) return |origin|
5472+
<li>if |destination| has no gamut limits (XYZ-D65, XYZ-D50, Lab, LCH, Oklab, Oklch) convert |origin| to |destination| and return it as the gamut mapped color
54735473
<li>let |origin_Oklch| be |origin| converted
54745474
from |origin color space| to the Oklch color space</li>
54755475
<li>if the Lightness of |origin_Oklch| is greater than or equal to 100%,

0 commit comments

Comments
 (0)