Skip to content

Commit 4945e1d

Browse files
committed
[css-color-4] Spell check.
1 parent 4378a26 commit 4945e1d

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

css-color-4/Overview.bs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Introduction</h2>
6666

6767
In particular, it allows specifying colors
6868
in other [=colorspaces=] than sRGB;
69-
previously, the more saturated colors ouside the sRGB gamut
69+
previously, the more saturated colors outside the sRGB gamut
7070
could not be used in CSS
7171
even if the display device supported them.
7272
In addition to the family of
@@ -2598,7 +2598,7 @@ Specifying a color profile: the ''@color-profile'' at-rule</h3>
25982598
<h3 id="cal-cmyk">
25992599
CSS and print: using calibrated CMYK and other printed colorspaces</h3>
26002600

2601-
The ''@color-profile'' at-rule is not restriced to RGB colorspaces.
2601+
The ''@color-profile'' at-rule is not restricted to RGB colorspaces.
26022602
While screens typically display colors directly in RGB,
26032603
printers often represent colors with CMYK.
26042604

@@ -2608,7 +2608,7 @@ such as Cyan Magenta Yellow Green Orange Violet Black (CMYGOVB)
26082608
can also be done in CSS,
26092609
provided you have an ICC profile
26102610
corresponding to the combination of
2611-
inks, paper, total ink coverage and equipement
2611+
inks, paper, total ink coverage and equipment
26122612
you will use.
26132613

26142614
<div class="example">
@@ -2654,7 +2654,7 @@ can proceed as normal.
26542654
<img src="images/macbeth-roundtrip.svg" style="width: 60vmin">
26552655
<figcaption>
26562656
A color checker, used for ensuring color fidelity
2657-
in the print and photographic inductries.
2657+
in the print and photographic industries.
26582658
Averaged measured Lab values are available for each patch.
26592659
The rectangles show the Lab values, converted to sRGB.
26602660
The circles, which are barely visible, show the Lab values,
@@ -3193,7 +3193,7 @@ Changes</h2>
31933193
<li>Added normative reference for CIE Lab</li>
31943194
<li>Clarified that prophoto-rgb uses D50 whitepoint so does not require adaptation</li>
31953195
<li>Clarified direction of increasing angle in LCH</li>
3196-
<li>Clarified that color names are ACII case insensitive</li>
3196+
<li>Clarified that color names are ASCII case insensitive</li>
31973197
<li>Initial value of the "color" property is now CanvasText</li>
31983198
<li>Removed confusing gray() function per CSS WG resolution</li>
31993199
<li>Collect scattered definitions into new
@@ -3215,7 +3215,7 @@ Changes</h2>
32153215
<li>Add computed/used entry for system colors</li>
32163216
<li>Rewrite intro to non-deprecated system colors to center their use around forced-colors mode rather than generic use</li>
32173217
<li>Consistent hyphenation of predefined colorspaces</li>
3218-
<li>Restore text about non-opaque elements painting at layeres even when not positioned</li>
3218+
<li>Restore text about non-opaque elements painting at layers even when not positioned</li>
32193219

32203220
<li>Initial value of the "color" property is now black</li>
32213221
<li>Clarify hue in LCH is modulo 360deg (change now reverted)</li>
@@ -3234,7 +3234,7 @@ Changes</h2>
32343234
<li>Clarify required precision and rounding behavior for color channels</li>
32353235
<li>Clarify "color" property has no effect on color font glyphs (unless specifically referenced, e.g. with currentColor)</li>
32363236
<li>Clarify how color values are resolved</li>
3237-
<li>larify that HSL, HWB and named colors resolve to sRGB</li>
3237+
<li>Clarify that HSL, HWB and named colors resolve to sRGB</li>
32383238
<li>Simplify conversion from device-cmyk to sRGB</li>
32393239
<li>Describe previous, comma-using color syntaxes as "legacy"; change examples to commaless form</li>
32403240
<li>Remove superfluous requirement that displayed colors be restricted to device gamut (like there was any other option!)</li>
@@ -3310,12 +3310,12 @@ Accessibility Considerations {#a11y-sec}
33103310
========================================
33113311

33123312
This specification <a href="#notes">encourages authors to not use
3313-
color alone</a> as a distinguuishing feature.
3313+
color alone</a> as a distinguishing feature.
33143314

33153315
This specification <a href="css-system-colors">encourages browsers to ensure
33163316
adequate contrast for specific system color foreground/background pairs</a>.
33173317
A harder requirement with specific AA or AAA contrast ratios was considered,
3318-
but since browsers are often just passing along coor choices made by the OS,
3318+
but since browsers are often just passing along color choices made by the OS,
33193319
or selected by users (who may have particular requirements,
3320-
including lower contrast for migraine or epileps sufferers), the CSSWG
3320+
including lower contrast for migraine or epilepsy sufferers), the CSSWG
33213321
was unable to require a specific contrast level.

css-color-4/conversions.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,9 @@ function gam_a98rgb(RGB) {
171171
function lin_a98rgb_to_XYZ(rgb) {
172172
// convert an array of linear-light a98-rgb values to CIE XYZ
173173
// http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html
174-
// has greater numerical precsion than section 4.3.5.3 of
174+
// has greater numerical precision than section 4.3.5.3 of
175175
// https://www.adobe.com/digitalimag/pdfs/AdobeRGB1998.pdf
176-
// but the vaues below were calculated from first principles
176+
// but the values below were calculated from first principles
177177
// from the chromaticity coordinates of R G B W
178178
// see matrixmaker.html
179179
var M = [

0 commit comments

Comments
 (0)