[css-color-hdr] 2.4 "two dynamic-range-limit-mix values" should be "two or more ..." · Issue #11694 · w3c/csswg-drafts (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

@squelart

Description

@squelart

#10271 added interpolation between multiple values of dynamic-range-limit, which can also work on more than two values, as seen in the example and WPT computed.html.
However the preceding paragraph 2.4 still starts with "This function takes two dynamic-range-limit values".
It should be updated to "two or more".

Bonus: For completeness, could it also support just one value? I think the algorithm to get the computed value would still work.
The zero-value case is already implicitly handled by "If the sum of all percentages is 0%, then the function is invalid."