Skip to content

Commit ab1fead

Browse files
committed
[css-color-4] Clarify wording around color-interpolation-method and host syntax, #11760
1 parent 273fbf7 commit ab1fead

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

css-color-4/Overview.bs

+11-7
Original file line numberDiff line numberDiff line change
@@ -4689,16 +4689,20 @@ Color Space for Interpolation</h3>
46894689
The sRGB color space, which is neither linear-light nor perceptually uniform, is the choice here,
46904690
even though it produces poorer results (overly dark or greyish mixes).
46914691

4692-
4693-
46944692
These features are collectively termed the <dfn export>host syntax</dfn>.
4695-
They are not used by this specification itself,
4696-
only exposed so that other specifications can use them;
4693+
4694+
To permit a host syntax to indicate the [=interpolation color space=],
4695+
this specification exports a
4696+
<a href="#color-interpolation-method">color-interpolation-method</a> production.
4697+
It is not used by this specification itself,
4698+
only exposed so that other specifications can use it;
46974699
<span class="non-normative">see e.g. use in [[css-images-4#linear-gradients]].</span>
4700+
46984701
The host syntax should define
4699-
what the default [=interpolation color space=] should be for each case,
4700-
and optionally provide syntax for authors to override this default.
4701-
If such syntax is part of a property value, it should use a <<color-interpolation-method>> token,
4702+
what the <em>default</em> [=interpolation color space=] should be for each case,
4703+
and preferably provide syntax for authors to override this default.
4704+
If such syntax is part of a property value, it should use the
4705+
<a href="#color-interpolation-method">color-interpolation-method</a> production,
47024706
defined below for easy reference from other specifications.
47034707
This ensures consistency across CSS,
47044708
and that further customizations on how color interpolation is performed

0 commit comments

Comments
 (0)