Skip to content

Commit 1464260

Browse files
committed
[css-color-4] markup fixes
1 parent a52ad2b commit 1464260

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

css-color-4/Overview.bs

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2083,7 +2083,7 @@ Examples of HSL colors</h3>
20832083
In each table, the X axis represents the saturation
20842084
while the Y axis represents the lightness.
20852085

2086-
Issue(#3088):
2086+
Issue(3088):
20872087

20882088
<div class="note">The conversions in the table below are known to contain errors. They are copied from CSS Color 3, which also had the same errors. Those colors were supposedly computed by a program in ABC. A future spec will correctly compute those colors. Meanwhile, please note that these conversions are non-normative examples.</div>
20892089

@@ -3641,6 +3641,7 @@ Predefined colorspaces: ''srgb'', ''display-p3'', ''a98-rgb'', ''prophoto-rgb'',
36413641
It represents the CIE XYZ colorspace,
36423642
scaled such that diffuse white has a luminance (Y) of 1.0
36433643
and, if necessary, chromatically adapted to a D50 reference white.
3644+
36443645
Values greater than 1.0 are allowed and must not be clamped;
36453646
they represent colors brighter than diffuse white.
36463647
Values less than 0 are uncommon,
@@ -3664,6 +3665,7 @@ Predefined colorspaces: ''srgb'', ''display-p3'', ''a98-rgb'', ''prophoto-rgb'',
36643665
<span class="swatch" style="--color: #7654CD"></span> rgb(46.27% 32.94% 80.39%)
36653666
<span class="swatch" style="--color: #7654CD"></span> color(lab 44.36% 36.05 -58.99)
36663667
<span class="swatch" style="--color: #7654CD"></span> color(xyz 0.2005 0.14089 0.4472)
3668+
</pre>
36673669
</div>
36683670

36693671
<wpt>
@@ -3741,6 +3743,7 @@ Specifying a color profile: the ''@color-profile'' at-rule</h3>
37413743
The <dfn at-rule id="at-ruledef-profile">@color-profile</dfn> rule
37423744
defines and names a <dfn lt="CSS color profile" local-lt="color profile">color profile</dfn>
37433745
which can later be used in the ''color()'' function to specify a color.
3746+
37443747
It's defined as:
37453748

37463749
<pre class='prod'>
@@ -3915,6 +3918,7 @@ you will use.
39153918

39163919
Because the actual color resulting from a given CMYK combination is known,
39173920
an on-screen visualization of the printed output (soft-proof) can be made.
3921+
39183922
Also, procedures that rely on knowing the color
39193923
(anti-aliasing, compositing, using the color in a gradient, etc)
39203924
can proceed as normal.
@@ -4438,7 +4442,7 @@ Interpolation</h2>
44384442
<h3 id="interpolation-space">
44394443
Color space for interpolation</h3>
44404444

4441-
Issue(#5928):
4445+
Issue(5928):
44424446

44434447
Colors are first converted to Lab
44444448
and then interpolated as Lab colors.
@@ -4512,7 +4516,7 @@ Interpolating with alpha</h3>
45124516
when premultiplication is undone.
45134517
</div>
45144518

4515-
Issue(#445):
4519+
Issue(445):
45164520

45174521
<h3 id="hue-interpolation">
45184522
Hue interpolation</h3>
@@ -4536,7 +4540,7 @@ Hue interpolation</h3>
45364540
then for interpolation, NaN is replaced
45374541
by the value 0 for both angles.
45384542

4539-
<h4 id="hue-shorter">''shorter''"</h4>
4543+
<h4 id="hue-shorter">''shorter''</h4>
45404544

45414545
Angles are adjusted so that θ₂ - θ₁ ∈ [-180, 180]. In pseudo-Javascript:
45424546
<pre>
@@ -4583,10 +4587,10 @@ Hue interpolation</h3>
45834587
No fixup is performed. Angles are interpolated in the same way as every other component.
45844588

45854589

4586-
Issue(#4928):
4590+
Issue(4928):
45874591

45884592

4589-
Issue(#5277):
4593+
Issue(5277):
45904594

45914595

45924596
<h2 id="sample">

0 commit comments

Comments
 (0)