Skip to content

Commit 11b6b73

Browse files
authored
fix: typos across specs (#9164)
1 parent 0f4f56c commit 11b6b73

File tree

68 files changed

+141
-141
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+141
-141
lines changed

bin/issuegen.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
This is a script that converts a plaintext (.txt or .bsi) issues list
5252
into a color-coded HTML file of the same name (but .html file extension).
5353
The input is itself a presentable, easily-editable file designed
54-
mostly for the editor’s convenenience.
54+
mostly for the editor’s convenience.
5555
5656
The original purpose of this format is to create a Disposition of
5757
Comments for the W3C's LCWD->CR transition process. However, it is
@@ -230,7 +230,7 @@ sub header {
230230
}
231231
die "Error: missing document URL or title.\n" unless ($url && $title);
232232

233-
# Process URL to get status, date, shorname
233+
# Process URL to get status, date, shortname
234234
my $status = 'Draft';
235235
my $date = $1 if ($inFile =~ /([\d-]+)/);
236236
if ($url =~ /([A-Z]{2})-([a-z0-9-]+)-(\d{8})/) {

css-anchor-position-1/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1249,7 +1249,7 @@ this will <em>usually</em> mean you wouldn't see a "base" ''anchor(auto)''
12491249
show up in the final styles at all,
12501250
but if that does happen
12511251
(it's specified in a property
1252-
that isn't overriden by anything in the [=position fallback list=]),
1252+
that isn't overridden by anything in the [=position fallback list=]),
12531253
the only effect of the ''anchor()/auto''/''auto-same''
12541254
is to resolve to the appropriate side keyword.
12551255

css-animations-2/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ console.log(anim.playState); // Should be 'running'.
927927
to re-use the [=cascade=],
928928
to handle non-percentage keyframe offsets,
929929
to handle keyframes with offsets outside the [0,1] range,
930-
and to use the value of 'animation-composition' as the default composit.
930+
and to use the value of 'animation-composition' as the default composite.
931931
<li>Reduced the cases where ''display: none'' cancel an animation.
932932
(<a href="https://github.com/w3c/csswg-drafts/issues/6429">Issue 6429</a>)
933933
<li>Cross-linked to [[css-values-4#linked-properties]] to define how the various 'animation-*' properties interact.

css-cascade-6/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ Cascade Sorting Order</h3>
156156
[=scoped style rule=] [=subject=] wins.
157157
For this purpose,
158158
style rules without a [=scoping root=]
159-
are considered to have inifinite proximity hops.
159+
are considered to have infinite proximity hops.
160160

161161
<dt id='cascade-order'>Order of Appearance
162162
<dd>

css-color-4/Overview.bs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ Representing Colors: the <<color>> type</h2>
818818
The [=color functions=] available in Level 4 are
819819
* ''rgb()'' and its ''rgba()'' alias,
820820
which (like the [=hex color notation=]) specify sRGB colors directly
821-
by their red/green/blue/alpha chanels.
821+
by their red/green/blue/alpha channels.
822822
* ''hsl()'' and its ''hsla()'' alias,
823823
which specify sRGB colors
824824
by hue, saturation, and lightness
@@ -1819,7 +1819,7 @@ System Colors</h3>
18191819
<wpt>
18201820
parsing/color-valid.html
18211821
system-color-compute.html
1822-
system-color-hightlights-vs-getSelection-001.html
1822+
system-color-highlights-vs-getSelection-001.html
18231823
</wpt>
18241824

18251825
Note: As with all other [=CSS/keywords=],
@@ -3019,7 +3019,7 @@ Device-independent Colors: CIE Lab and LCH, Oklab and Oklch</h2>
30193019
and computation of the visual difference between two colors.
30203020

30213021
To compensate for this,
3022-
formulae to predict the visual difference betwen two colors
3022+
formulae to predict the visual difference between two colors
30233023
(delta E)
30243024
have been made more accurate over time
30253025
(but also, much more complex to compute).
@@ -3038,7 +3038,7 @@ Device-independent Colors: CIE Lab and LCH, Oklab and Oklch</h2>
30383038
Recently, Oklab,
30393039
an improved Lab-like space has been developed [[!Oklab]].
30403040
The corresponding polar form is called Oklch.
3041-
It was produced by numerical optimisation
3041+
It was produced by numerical optimization
30423042
of a large dataset of visually similar colors,
30433043
and has improved hue linearity,
30443044
hue uniformity,
@@ -4329,7 +4329,7 @@ with white point |dest-white|:
43294329
Otherwise, let |dest-rect| be |dest|.
43304330

43314331
<li id="convert-fromXYZ">Convert |xyz| to |dest|,
4332-
followed by appying any transfer function (gamma encoding),
4332+
followed by applying any transfer function (gamma encoding),
43334333
producing |col2|.
43344334

43354335
<li id="convert-display">If |dest| is a physical output color space, such as a display,
@@ -4390,7 +4390,7 @@ Color Interpolation</h2>
43904390
(which has a colorimetric interpretation, which is all of them except for device-cmyk and even then, only in corner cases)
43914391
- allowing individual specifications to override this
43924392
(for example compositing should be in linear-light XYZ)
4393-
(for example, clor-mix defaults to LCH but allows other spaced to be explicitly specified)
4393+
(for example, color-mix defaults to LCH but allows other spaced to be explicitly specified)
43944394
- maintaining Web compat with special-case where all the colors to be interpolated use legacy sRGB
43954395
- providing an opt-in for sRGB colors
43964396

@@ -4947,7 +4947,7 @@ Note: This section provides important context for the specific requirements desc
49474947
an in-gamut color.
49484948

49494949
Gamut mapping is the process of finding an in-gamut color
4950-
with the least objectionable change in visual apprearance.
4950+
with the least objectionable change in visual appearance.
49514951

49524952
<h4 id="GM-clip">
49534953
Clipping</h4>
@@ -4985,7 +4985,7 @@ Closest Color (MINDE)</h4>
49854985
in a perceptually uniform color space,
49864986
by finding the closest in-gamut color
49874987
(so-called minimum ΔE or <dfn export>MINDE</dfn>).
4988-
Clearly, the sucess of this technique
4988+
Clearly, the success of this technique
49894989
depends on
49904990
the degree of uniformity of the gamut mapping color space
49914991
and the predictive accuracy of the deltaE function used.
@@ -6610,7 +6610,7 @@ Changes</h2>
66106610
<!-- to 10 May 2023 -->
66116611
<li>Clarified for legacy syntax that color components must be all-percentage or all-number</li>
66126612
<li>Added examples of specified out of range alpha, with and without calc()</li>
6613-
<li>Placed examples of serializing with trimmed trailing zeroes clorer to the relevant text</li>
6613+
<li>Placed examples of serializing with trimmed trailing zeroes colorer to the relevant text</li>
66146614
<li>clarified example, used value of text-shadow</li>
66156615
<li>Clarified resolving currentColor</li>
66166616
<li>Updated acknowledgments</li>
@@ -6653,7 +6653,7 @@ Changes</h2>
66536653
<li>Moved definitions of valid color, invalid color, out of gamut and in gamut to terminology section</li>
66546654
<li>Fixed definition of "longer" hue interpolation</li>
66556655
<li>Further clarified the concept of a host syntax</li>
6656-
<li>Acessibility improvements for color swatches</li>
6656+
<li>Accessibility improvements for color swatches</li>
66576657
<li>Made explicit that legacy forms do not support "none"</li>
66586658
<li>Remove "none" from the hue production, as it is not allowed in legacy syntax</li>
66596659
<li>Removed some dangling references to CMYK and CMYKOGV, moved to CSS Color5</li>
@@ -6790,7 +6790,7 @@ Changes</h2>
67906790
<li>Simplified ''color()'' syntax by removing the fallback options</li>
67916791
<li>Clarified the types of ICC profile that may be linked from @color-profile</li>
67926792
<li>Support for the rare ICC Named Colors was removed</li>
6793-
<li>Improved precsion of standard whitepoint chromaticities</li>
6793+
<li>Improved precision of standard whitepoint chromaticities</li>
67946794
<li>Removed a trademark from description of one predefined color space</li>
67956795
<li>Rephrased interpolation to be more generic wrt to interpolation space</li>
67966796
<li>Corrected Accessibility Considerations section</li>

css-color-5/Overview.bs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ After normalizing both percentages, the result is produced via the following alg
255255
The result of mixing is the color at the specified percentage along the progression
256256
of the second color to the first color.
257257

258-
Note: As a corrollary, a percentage of 0% just returns the other color converted to the specified color space,
258+
Note: As a corollary, a percentage of 0% just returns the other color converted to the specified color space,
259259
and a percentage of 100% returns the same color converted to the specified color space.
260260

261261
<div class="example" id="ex-mix-lch-peru40">
@@ -272,7 +272,7 @@ and a percentage of 100% returns the same color converted to the specified color
272272

273273
<figure id="fig-LCH-peru-goldenrod">
274274
<object data="images/CH-mixing.svg" width=480 height=480>
275-
<p>A mixture of two colours, and the mixed output.
275+
<p>A mixture of two colors, and the mixed output.
276276
We are looking down the CIE L axis onto the ab plane.
277277
There are two axes, labelled <em>a</em> and <em>b</em>
278278
which cross at the origin,
@@ -314,7 +314,7 @@ and a percentage of 100% returns the same color converted to the specified color
314314

315315
<figure id="fig-LCH-teal-olive">
316316
<object data="images/CH-mixing3.svg" width=500 height=500>
317-
<p>A mixture of two colours, and the mixed output.
317+
<p>A mixture of two colors, and the mixed output.
318318
We are looking down the CIE L axis onto the ab plane.
319319
There are two axes, labelled <em>a</em> and <em>b</em>
320320
which cross at the origin,
@@ -823,7 +823,7 @@ or taken from the origin color
823823
parsing/color-valid-relative-color.html
824824
</wpt>
825825

826-
The precise details of each function's changes to accomodate [=relative colors=] are listed below,
826+
The precise details of each function's changes to accommodate [=relative colors=] are listed below,
827827
but they all follow a common structure:
828828

829829
* An [=origin color=] can be specified with a ''from <<color>>'' value at the start of the function.
@@ -1459,7 +1459,7 @@ which is out of sRGB gamut,
14591459
color(srgb -0.6018 0.7621 0.8448)
14601460
as the negative red component indicates.
14611461
Bring this into gamut
1462-
by reducing Oklch Chroma, yeilds
1462+
by reducing Oklch Chroma, yields
14631463
<span class="swatch" style="--color: rgb(0.079% 69.282% 72.067%)"></span> oklch(0.69012 0.1173 199.893).
14641464
The Oklch chroma has dropped from 0.251 to 0.117.
14651465
</div>
@@ -2653,7 +2653,7 @@ even if explicitly specified.
26532653
<pre>color-mix(in oklab, teal 70%, peru 70%)</pre>
26542654
would be the string "color-mix(in oklab, teal 70%, peru 70%)"
26552655
because the fact that these normalize to 50% each
2656-
is only discoverfed after percentage normalization.
2656+
is only discovered after percentage normalization.
26572657
</div>
26582658

26592659
The serialization of the result of a ''color-mix()'' function
@@ -2962,7 +2962,7 @@ No new privacy considerations have been reported on this specification.
29622962
<ul>
29632963
<!-- to 1 July 2023 -->
29642964
<li>Use reference ranges for percent to number conversions</li>
2965-
<li>Made ''hsl()'' and ''hwb()'' channel values number, per CSSSWG resolution.
2965+
<li>Made ''hsl()'' and ''hwb()'' channel values number, per CSSWG resolution.
29662966
Also made all the hue angle channel values number, in degrees.
29672967
The RCS intro already said this but the change had not been fully propagated.</li>
29682968
<!-- to 28 June 2023 -->
@@ -3032,7 +3032,7 @@ No new privacy considerations have been reported on this specification.
30323032
<li>Clearly described potential clash of component names with named constants such as PI</li>
30333033
<li>Clarified that Relative Color Syntax does not use legacy (comma-separated) syntax</li>
30343034
<li>Corrected grammar of the rgb() function, ''none''' was not listed as an option for alpha</li>
3035-
<li>Changed serialization of color-mix() which uses hsl or hwb, to maximise precision</li>
3035+
<li>Changed serialization of color-mix() which uses hsl or hwb, to maximize precision</li>
30363036
<li>Added an out of gamut color-mix example</li>
30373037
<li>Use the term "cannot express the color" to describe HSL and HWB models which cannot represent extended, out of gamut colors.</li>
30383038
<li>Fixed some spelling errors</li>
@@ -3077,7 +3077,7 @@ No new privacy considerations have been reported on this specification.
30773077
<li>Clarified that the color-adjuster is not optional</li>
30783078
<li>Clarified that the percentage in color-mix is mandatory</li>
30793079
<li>Moved hue-adjuster back to color-mix whee it belongs</li>
3080-
<li>Added example with different mxing color spaces</li>
3080+
<li>Added example with different mixing color spaces</li>
30813081
<!-- to 27 Apr 2021 -->
30823082
<li>Added examples of percentage normalization in color-mix()</li>
30833083
<li>Explicitly excluded negative percentages in color-mix()</li>
@@ -3143,7 +3143,7 @@ No new privacy considerations have been reported on this specification.
31433143
</ol>
31443144

31453145
In addition the new ''color-mix()'' function allows two colors to be mixed,
3146-
in a specified color space, to yeild a new color.
3146+
in a specified color space, to yield a new color.
31473147

31483148

31493149
<wpt hidden title="CSS 2.1 or CSS Color 3 tests, not relevant for this level">
@@ -3437,7 +3437,7 @@ No new privacy considerations have been reported on this specification.
34373437
parsing/color-valid-lab.html
34383438
parsing/color-valid-rgb.html
34393439
parsing/color-valid-system-color.html
3440-
system-color-hightlights-vs-getSelection-001.html
3440+
system-color-highlights-vs-getSelection-001.html
34413441
</wpt>
34423442

34433443
<wpt hidden title="CSS Color 6">

css-conditional-3/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ Instead, authors must write one of the following:
596596
</pre>
597597
</div>
598598

599-
<wpt title="Parentheses are required to mix opeartors.">
599+
<wpt title="Parentheses are required to mix operators.">
600600
at-supports-016.html
601601
css-supports-013.xht
602602
css-supports-014.xht

css-conditional-4/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ Additions since Level 3</h3>
212212
<wpt hidden title="CSS Conditional 5 tests">
213213
</wpt>
214214

215-
<wpt hidden title="Untagged, probaly conditional 3, needs triage">
215+
<wpt hidden title="Untagged, probably conditional 3, needs triage">
216216
at-media-whitespace-optional-001.html
217217
at-media-whitespace-optional-002.html
218218
at-supports-001.html

css-conditional-5/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Introduction</h2>
4646
which generalizes the concept of a conditional rule.
4747
Anything that can be expressed in an existing conditional rule
4848
can be expressed in ''@when''
49-
by wrappng it in an appropriate function
49+
by wrapping it in an appropriate function
5050
to declare what kind of condition it is.
5151
This allow authors to easily combine multiple types of queries,
5252
such as media queries and supports queries,
@@ -94,12 +94,12 @@ Extensions to the definition of support</h3>
9494

9595
A CSS processor is considered to
9696
<dfn export for=CSS id="dfn-support-font-tech">support a font tech</dfn>
97-
when it is capable of utilising the specified [[css-fonts-4#font-tech-definitions]]
97+
when it is capable of utilizing the specified [[css-fonts-4#font-tech-definitions]]
9898
in layout and rendering.
9999

100100
A CSS processor is considered to
101101
<dfn export for=CSS id="dfn-support-font-format">support a font format</dfn>
102-
when it is capable of utilising the specified [[css-fonts-4#font-format-definitions]]
102+
when it is capable of utilizing the specified [[css-fonts-4#font-format-definitions]]
103103
in layout and rendering,
104104
and this format is not specified as a <<string>>.
105105

css-conditional-5/font-tech-format-explainer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ that have evolved over the years (
4343
[history](https://github.com/w3c/csswg-drafts/blob/main/css-fonts-4/src-explainer.md#history-of-font-technologies).
4444
So the file signature or mime type for font files is not sufficient to identify
4545
whether a UA's font stack would support it. Instead it is necessary to
46-
distinguish what text layout (OpenType, AAT, Graphite) or rasterisation
46+
distinguish what text layout (OpenType, AAT, Graphite) or rasterization
4747
technologies (TrueType contours, variations, bitmap color font formats, vector
4848
color font formats etc.) are used by the respective font file.
4949

@@ -118,7 +118,7 @@ overrides is not needed.
118118

119119
```
120120
if (CSS.supports("font-tech(palettes)") {
121-
// Load palette styleheet here.
121+
// Load palette stylesheet here.
122122
if (CSS.supports("font-tech(color-COLRv1)")) {
123123
// Load COLRv1 font here.
124124
} else if (CSS.supports("font-tech(color-COLRv0)) {

0 commit comments

Comments
 (0)