Skip to content

Commit 682514e

Browse files
committed
[css-color] color-profile
1 parent 4cf0e6e commit 682514e

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

css-color/Overview.bs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1684,9 +1684,9 @@ gamut space capable of representing almost all visible real-world colors. Both a
16841684
in the stylesheet, to connect the name with the profile data.
16851685

16861686
<pre>
1687-
@profile swopc {
1687+
@color-profile swopc {
16881688
src: url('http://example.org/swop-coated.icc'');}
1689-
@profile indigo {
1689+
@color-profile indigo {
16901690
src: url('http://example.org/indigo-seven.icc'');}
16911691
profile prophoto {
16921692
src: url('http://example.org/prophoto.icc'');}
@@ -1712,7 +1712,7 @@ one for greyscale, and so on). The identifier is either one of the predefined sp
17121712
<h3 id="predefined">Predefined colorspaces: DCI P3 and Rec.2020.</h3>
17131713

17141714
These two colorspaces are indicated by using the predefined identifiers <i>P3</i> or
1715-
<i>Rec.2020</i> in the color function. No ''<@profile>'' at-rule is needed; if one is
1715+
<i>Rec.2020</i> in the color function. No ''<@color-profile>'' at-rule is needed; if one is
17161716
supplied, it will be ignored.
17171717

17181718
The DCI P3[[!P3]] colorspace has the following characteristics:
@@ -1772,16 +1772,16 @@ are the same for colors inside the source and destination gamuts.
17721772
<h3 id="at-profile">Specifying a color profile: the ''profile'' at-rule</h3>
17731773
<!-- we agreed to call it profile rather than color-profile or icc-profile, for brevity -->
17741774

1775-
The <dfn data-dfn-type='at-rule' id="at-ruledef-profile">@profile</dfn>
1775+
The <dfn data-dfn-type='at-rule' id="at-ruledef-profile">@color-profile</dfn>
17761776
rule is a group rule. It consists of the at-keyword
1777-
'@profile' followed by an identifier, followed by a group rule body.
1777+
'@color-profile' followed by an identifier, followed by a group rule body.
17781778

1779-
In a very similar way to the ''<@font-face.'' at-rule, the ''<@profile>''
1779+
In a very similar way to the ''<@font-face.'' at-rule, the ''<@color-profile>''
17801780
at-rule has a descriptor
17811781
to give the profile a name which will be used inside the stylesheet,
17821782
<!-- is this actualy a descriptor, or a parameter to the at-rule?-->
17831783
and another descriptor to point to the actual
1784-
data (<dfn for="@profile/src">src</dfn>, just like
1784+
data (<dfn for="@color-profile/src">src</dfn>, just like
17851785
<dfn for="@font-face/src">src</dfn> in font-face.)
17861786
<!-- not clear how I link to the two different descriptors therte, in bikeshed syntax -->
17871787

0 commit comments

Comments
 (0)