Skip to content

Commit d4a6d5f

Browse files
tidoustsvgeesus
authored andcommitted
[css-color-hdr-1] Use definition of color() from css-color-5
Issue #11954 noted that the spec does not really extend the definition of the `color()` function but rather extends the definition of one of the types that gets used in the definition of `color()`. A previous update dropped duplicated constructs accordingly, but the duplication of the definition itself remained. Duplication is confusing for tools and readers because there's no longer any direct linnk between the definition of the `color()` function and its syntax. This replaces the definition with a reference to the actual definition in `css-color-5`, allowing readers to access the actual function syntax. Note the "link default" should only be needed on a temporary basis (and it is needed precisely because the cross-references database currently contains more than one definition of the `color()` function).
1 parent fde47c6 commit d4a6d5f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

css-color-hdr-1/Overview.bs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ WPT Display: open
2929
spec:css-color-5; type:dfn; text:component keywords
3030
spec:css-color-5; type:dfn; text:origin color
3131
spec:css-color-5; type:dfn; text:required conversion
32+
spec:css-color-5; type:function; text:color()
3233
spec:css-color-adjust-1; type:value; text:light
3334
spec:css-color-adjust-1; type:value; text:dark
3435
spec:css-color-4; type:value; text:rec2020
@@ -977,7 +978,7 @@ Mixing Dynamic Range Limits: the ''dynamic-range-limit-mix()'' function {#dynami
977978
Specifying Predefined and Custom Color Spaces: the ''color()'' Function
978979
</h2>
979980

980-
The <dfn>color()</dfn> function allows a color to be specified
981+
The ''color()'' function allows a color to be specified
981982
in a particular, given [=color space=]
982983
(rather than the implicit sRGB color space that most of the other color functions operate in).
983984

0 commit comments

Comments
 (0)