Skip to content

Commit 5aa04aa

Browse files
author
Ivan Panchenko
authored
Fix mistakes (w3c#7729)
1 parent 929f19e commit 5aa04aa

2 files changed

Lines changed: 16 additions & 16 deletions

File tree

css-fonts-4/Overview.bs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2804,7 +2804,7 @@ Each <<urange>> value is a
28042804
<a href="https://www.w3.org/TR/CSS21/syndata.html#tokenization"><code title="UNICODE-RANGE token">UNICODE-RANGE</code></a>
28052805
token made up of a "U+" or "u+" prefix
28062806
followed by a codepoint range in one of the three forms listed below.
2807-
Ranges that do not fit one of the these forms are invalid
2807+
Ranges that do not fit one of these forms are invalid
28082808
and cause the declaration to be ignored.
28092809

28102810
<dl>
@@ -3184,7 +3184,7 @@ Font fetching requirements</h4>
31843184

31853185
Note: The implications of this for authors are that fonts
31863186
will typically not be loaded cross-origin unless authors specifically
3187-
takes steps to permit cross-origin loads. Sites can explicitly allow
3187+
take steps to permit cross-origin loads. Sites can explicitly allow
31883188
cross-site loading of font data using the <code>Access-Control-Allow-Origin</code>
31893189
HTTP header. For other schemes, no explicit mechanism to allow
31903190
cross-origin loading, beyond what is permitted by the
@@ -3197,15 +3197,15 @@ algorithm, is defined or required.
31973197

31983198
<div class="example" id="ex-cross-origin">
31993199
For the examples given below, assume that a document is located at
3200-
<code>https://example.com/page.html</code> and all URL's link to valid
3200+
<code>https://example.com/page.html</code> and all URLs link to valid
32013201
font resources supported by the user agent.
32023202

32033203
Fonts defined with the 'src!!descriptor' descriptor values below will be loaded:
32043204

32053205
<pre>/* same origin (i.e. domain, scheme, port match document) */
32063206
src: url(fonts/simple.woff);
32073207

3208-
/* data url's with no redirects are treated as same origin */
3208+
/* data urls with no redirects are treated as same origin */
32093209
src: url("data:application/font-woff;base64,...");
32103210

32113211
/* cross origin, different domain */
@@ -3728,7 +3728,7 @@ if all font style properties were set to their initial value.
37283728
present in this group which can support a range of
37293729
'font-stretch!!property', 'font-style!!property', or 'font-weight!!property' properties. In
37303730
this case, the algorithm proceeds as if each supported combination of
3731-
values are a unique font in the set. If such a font is ultimately
3731+
values is a unique font in the set. If such a font is ultimately
37323732
selected by this algorithm, particular values for
37333733
'font-stretch!!property', 'font-style!!property', and 'font-weight!!property' must be applied
37343734
before any layout or rendering occurs. The application of these values
@@ -4006,7 +4006,7 @@ if all font style properties were set to their initial value.
40064006
<!-- resolution on the above: http://lists.w3.org/Archives/Public/www-style/2012Nov/0292.html -->
40074007

40084008
7. If there are no more font families to be evaluated and no matching
4009-
face has been found, then the user agent performs a <dfn>installed font
4009+
face has been found, then the user agent performs an <dfn>installed font
40104010
fallback</dfn> procedure to find the best match for the character to be
40114011
rendered. The result of this procedure can vary across user agents.
40124012

@@ -5440,7 +5440,7 @@ the <dfn lt="font feature value declaration">font feature value declarations</df
54405440
where the declaration's name can be any [=identifier=],
54415441
and the value must be a list of one or more non-negative <<integer>>s.
54425442

5443-
The <<feature-value-block>>s accepts any declaration name;
5443+
The <<feature-value-block>>s accept any declaration name;
54445444
these names must be identifiers,
54455445
per standard CSS syntax rules,
54465446
and are [=case-sensitive=]
@@ -6277,7 +6277,7 @@ text run.
62776277
3. The language specified by the inherited value of lang/xml:lang is applied.
62786278

62796279
4. If the font is defined via an ''@font-face'' rule, the font language override
6280-
implied by the 'font-language-override!!descriptor' descriptor in the ''@font-face'' rule are applied.
6280+
implied by the 'font-language-override!!descriptor' descriptor in the ''@font-face'' rule is applied.
62816281

62826282
5. If the font is defined via an ''@font-face'' rule, that ''@font-face'' rule includes
62836283
at least one valid 'font-named-instance' descriptor
@@ -7154,7 +7154,7 @@ Overriding a colors from a palette: The 'override-colors!!descriptor' descriptor
71547154
The '@font-palette-values/override-colors' descriptor takes
71557155
a comma-separated list of palette index entries and colors.
71567156
Each item in the comma-separated list represents a tuple of
7157-
an entry into the palette an a color to replace it with.
7157+
an entry into the palette and a color to replace it with.
71587158

71597159
For each key/value pair in the value of this descriptor,
71607160
the color with that key in the initial palette (i.e. by using the 'base-palette' descriptor)
@@ -7248,7 +7248,7 @@ A different UA might wish instead to use the same mechanical cluster fallback al
72487248
that it would use for any arbitrary cluster.
72497249

72507250
Variation selectors other than FE0E VARIATION SELECTOR-15 and U+FE0F VARIATION SELECTOR-16
7251-
must not have any affect on font selection.
7251+
must not have any effect on font selection.
72527252
If one of these variation selectors is present,
72537253
but unsupported by the font previously selected,
72547254
the variation selector is ignored.
@@ -7921,13 +7921,13 @@ None.
79217921

79227922
<a href="#font-fetching-requirements">For font loads</a>, user agents must use the
79237923
potentially CORS-enabled fetch method defined by the [[!HTML]] specification
7924-
for URL’s defined within @font-face rules.
7924+
for URLs defined within @font-face rules.
79257925
When fetching, user agents must use "Anonymous" mode,
79267926
set the referrer source to the stylesheet’s URL
79277927
and set the origin to the URL of the containing document.
79287928

79297929
Thus, fonts will typically not be loaded cross-origin
7930-
unless authors specifically takes steps to permit cross-origin loads.
7930+
unless authors specifically take steps to permit cross-origin loads.
79317931

79327932
<h3 id="sp214">How does this specification work in the context of a user agent’s Private Browsing or "incognito" mode? </h3>
79337933

@@ -8125,7 +8125,7 @@ Changes
81258125
<li>Avoiding cross-site font leakage amde RFC-2119 MUST</li>
81268126
<li>Clarified monochromatic fallback on color fonts</li>
81278127
<li>Removed remaining references to min-font-size, max-font-size</li>
8128-
<li>Clarified that color names are ACII case insensitive</li>
8128+
<li>Clarified that color names are ASCII case insensitive</li>
81298129
<li>Added the value none to font-palette</li>
81308130
<li>Marked font-palette and @font-palette-values as at-risk</li>
81318131
<li>Aligned value definition reference across all specs.</li>
@@ -8279,4 +8279,4 @@ This summarizes the changes in CSS Fonts 4, compared to CSS Fonts 3.
82798279
-->
82808280
<wpt hidden>
82818281

8282-
</wpt>
8282+
</wpt>

css-writing-modes-3/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,7 @@ Supporting SVG1.1 'writing-mode' values in CSS syntax</h5>
953953
</table>
954954

955955
<p class="note">The SVG1.1 values were also present
956-
in an older of the CSS 'writing-mode' specification,
956+
in an older version of the CSS 'writing-mode' specification,
957957
which is obsoleted by this specification.
958958
The additional ''tb-lr'' value of that revision
959959
is replaced by ''vertical-lr''.
@@ -1381,7 +1381,7 @@ Mixed Vertical Orientations</h4>
13811381
When 'text-orientation' is ''mixed'',
13821382
the UA must determine the orientation of each <a>typographic character unit</a>
13831383
by its <code>Vertical_Orientation</code> property:
1384-
<a href="#typeset-upright">typeseting it upright</a>
1384+
<a href="#typeset-upright">typesetting it upright</a>
13851385
if its orientation property is <code>U</code>, <code>Tu</code>, or <code>Tr</code>;
13861386
or <a href="#typeset-sideways">typesetting it sideways</a> (90&deg; clockwise from horizontal)
13871387
if its orientation property is <code>R</code>.

0 commit comments

Comments
 (0)