Skip to content

Commit 20c4fbd

Browse files
committed
[css-text-3] Editorial: punctuation
Consistant usage of curly quotes
1 parent 7415eac commit 20c4fbd

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

css-text-3/Overview.bs

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ Languages and Typesetting</h3>
218218
The [=content language=] an element is declared to be in
219219
also identifies the specific written form of that language used in that element,
220220
known as the <dfn export local-lt="writing system">content writing system</dfn>.
221-
Depending on the [=document language=]'s facilities for identifying the [=content language=],
221+
Depending on the [=document language=]s facilities for identifying the [=content language=],
222222
this information can be explicit or implied.
223223
See the normative [[#script-tagging]].
224224

@@ -764,7 +764,7 @@ Mapping Rules</h4>
764764
then any appropriate language-specific rules must be applied as well.
765765
These minimally include,
766766
but are not limited to,
767-
the language-specific rules in Unicode's
767+
the language-specific rules in Unicodes
768768
<a href="http://www.unicode.org/Public/UNIDATA/SpecialCasing.txt">SpecialCasing.txt</a>.
769769

770770
<wpt>
@@ -803,7 +803,7 @@ Mapping Rules</h4>
803803
(or another Turkic language that uses Turkish casing rules);
804804
in other languages,
805805
the usual mapping of &ldquo;I&rdquo; and &ldquo;i&rdquo; is required.
806-
This rule is thus conditionally defined in Unicode's SpecialCasing.txt file.
806+
This rule is thus conditionally defined in Unicodes SpecialCasing.txt file.
807807
</div>
808808

809809
<wpt pathprefix="/css/CSS2/text/">
@@ -1573,7 +1573,7 @@ The White Space Processing Rules</h3>
15731573
(part of the CSS syntax)
15741574
are not necessarily identical.
15751575
However, since both include spaces (U+0020), tabs (U+0009), and line feeds (U+000A)
1576-
most authors won't notice any differences.
1576+
most authors wont notice any differences.
15771577

15781578
Besides Space (U+0020)
15791579
and No-Break Space (U+00A0),
@@ -2173,7 +2173,7 @@ Phase II: Trimming and Positioning</h4>
21732173
they are not considered when placing the rest of the line during text alignment.
21742174
When aligning towards the end,
21752175
this means any such [=spaces=] will overflow,
2176-
and will not prevent the rest of the line's content from being flush with the edge of the line.
2176+
and will not prevent the rest of the lines content from being flush with the edge of the line.
21772177
On the other hand,
21782178
preserved spaces at the end of a line <em>with</em> a forced break
21792179
[=conditionally hang=].
@@ -3326,7 +3326,7 @@ Breaking Rules for Letters: the 'word-break' property</h3>
33263326
are affected the same way as those letters.
33273327

33283328
<div class="example">
3329-
Here's a mixed-script sample text:
3329+
Heres a mixed-script sample text:
33303330

33313331
<pre style="white-space: pre-wrap">
33323332
这是一些汉字 and some Latin <bdi dir=rtl>و کمی خط عربی</bdi> และตัวอย่างการเขียนภาษาไทย በጽሑፍ፡ማራዘሙን፡አንዳንድ፡
@@ -4507,7 +4507,7 @@ Text Alignment: the 'text-align' shorthand</h3>
45074507
<dt><dfn>match-parent</dfn>
45084508
<dd>
45094509
This value behaves the same as ''inherit''
4510-
(computes to its parent's computed value)
4510+
(computes to its parents computed value)
45114511
except that an [=inherited value=] of ''start'' or ''end''
45124512
is interpreted against the parent’s
45134513
(or the [=initial containing block=]’s,
@@ -4543,7 +4543,7 @@ Text Alignment: the 'text-align' shorthand</h3>
45434543
the UA may stretch or shrink any inline boxes
45444544
by [[#text-justify-property|adjusting]] their text.
45454545
(See 'text-justify'.)
4546-
If an element's [=white space=] is not [=collapsible=],
4546+
If an elements [=white space=] is not [=collapsible=],
45474547
then the UA is not required to adjust its text
45484548
for the purpose of justification
45494549
and may instead treat the text
@@ -4563,8 +4563,8 @@ Text Alignment: the 'text-align' shorthand</h3>
45634563
If (after justification, if any)
45644564
the inline contents of a line box are too long to fit within it,
45654565
then the contents are <a spec=css-writing-modes-3>start</a>-aligned:
4566-
any content that doesn't fit
4567-
overflows the line box's <a spec=css-writing-modes-3>end</a> edge.
4566+
any content that doesnt fit
4567+
overflows the line boxs <a spec=css-writing-modes-3>end</a> edge.
45684568

45694569
See [[#bidi-linebox]] for details on how to determine
45704570
the <a spec=css-writing-modes-3>start</a> and <a spec=css-writing-modes-3>end</a> edges
@@ -4674,7 +4674,7 @@ Justification Method: the 'text-justify' property</h3>
46744674
</wpt>
46754675

46764676
This property selects the justification method
4677-
used when a line's alignment is set to ''justify''
4677+
used when a lines alignment is set to ''justify''
46784678
(see 'text-align').
46794679
The property applies to inlines,
46804680
but is inherited from block containers
@@ -4755,7 +4755,7 @@ Justification Method: the 'text-justify' property</h3>
47554755
expanding at spaces as well as between CJK and Southeast Asian letters.
47564756
This effectively uses inter-word + inter-ideograph spacing
47574757
for lines that have word-separators and/or CJK characters
4758-
and falls back to inter-cluster behavior for lines that don't
4758+
and falls back to inter-cluster behavior for lines that dont
47594759
or for which the space stretches too far.
47604760
</figcaption>
47614761
</figure>
@@ -4861,7 +4861,7 @@ Expanding and Compressing Text</h4>
48614861

48624862
When justifying text,
48634863
the user agent takes the remaining space
4864-
between the ends of a line's contents and the edges of its line box,
4864+
between the ends of a lines contents and the edges of its line box,
48654865
and distributes that space throughout its content
48664866
so that the contents exactly fill the line box.
48674867
The user agent may alternatively distribute negative space,
@@ -4929,7 +4929,7 @@ Handling Symbols and Punctuation</h4>
49294929
a [=typographic character unit=]
49304930
from the Unicode Symbols (S*) and Punctuation (P*) classes
49314931
is generally treated the same as a [=typographic letter unit=] of the same script
4932-
(or, if the character's script property is Common,
4932+
(or, if the characters script property is Common,
49334933
then as a [=typographic letter unit=] of the dominant script).
49344934

49354935
However, by typographic tradition
@@ -5520,7 +5520,7 @@ Tracking: the 'letter-spacing' property</h3>
55205520

55215521
Since letter spacing is inserted <strong>after</strong> RTL reordering,
55225522
the letter spacing applied to the inner span below likewise has no effect,
5523-
since after reordering the "c" doesn't end up next to "&#x5d0;":
5523+
since after reordering the "c" doesnt end up next to "&#x5d0;":
55245524

55255525
<pre highlight=css>
55265526
p { letter-spacing: 1em; }
@@ -5594,7 +5594,7 @@ Cursive Scripts</h4>
55945594
if the UA cannot expand text from a [=cursive script=]
55955595
without breaking its cursive connections,
55965596
it <em>must not</em> apply spacing
5597-
between any pair of that script's [=typographic letter units=] at all
5597+
between any pair of that scripts [=typographic letter units=] at all
55985598
(effectively treating each word as a single [=typographic letter unit=]
55995599
for the purpose of letter-spacing).
56005600
Both cases will result in an effective spacing of zero between such letters;
@@ -5766,7 +5766,7 @@ Shaping Across Element Boundaries</h3>
57665766
in many systems this is performed by the font engine,
57675767
allowing the font to provide variant glyphs
57685768
with potentially very sophisticated contextual shaping.
5769-
It's not generally possible to rely on this system across a font change
5769+
Its not generally possible to rely on this system across a font change
57705770
unless the font engine has an API to provide context,
57715771
but it is straightforward and therefore quite reasonable
57725772
for an engine to work around this limitation by, for example,
@@ -5792,7 +5792,7 @@ Shaping Across Element Boundaries</h3>
57925792
with an ampersand glyph (“&amp;”).
57935793

57945794
<!--
5795-
It's simply not possible for the UA
5795+
Its simply not possible for the UA
57965796
to create the effect of a partway-bold single glyph.
57975797
-->
57985798
</div>
@@ -6044,7 +6044,7 @@ First Line Indentation: the 'text-indent' property</h3>
60446044
In the following example, 'text-indent'
60456045
is given a value of ''3em hanging each-line'',
60466046
giving the third line of the poem a hanging indent
6047-
where it soft-wraps at the block's right boundary:
6047+
where it soft-wraps at the blocks right boundary:
60486048

60496049
<pre class="output">
60506050
In a short line of text
@@ -6059,16 +6059,16 @@ First Line Indentation: the 'text-indent' property</h3>
60596059
Note: Since the 'text-indent' property inherits,
60606060
when specified on a block element, it will affect descendant
60616061
inline-block elements.
6062-
For this reason, it is often wise to specify 'text-indent: 0' on
6063-
elements that are specified 'display: inline-block'.</p>
6062+
For this reason, it is often wise to specify ''text-indent: 0'' on
6063+
elements that are specified ''display: inline-block''.</p>
60646064

60656065
<h3 id="hanging">
60666066
Hanging Glyphs</h3>
60676067

60686068
When a glyph at the start or end edge of a line <dfn lt="hang">hangs</dfn>,
60696069
it is not considered
6070-
when measuring the line's contents for fit, alignment, or justification.
6071-
Depending on the line's alignment/justification, this can
6070+
when measuring the lines contents for fit, alignment, or justification.
6071+
Depending on the lines alignment/justification, this can
60726072
result in the mark being placed outside the line box.
60736073
The [=hanging=] glyph is also not taken into account
60746074
when computing [=intrinsic sizes=] ([=min-content size=] and [=max-content size=]),
@@ -6085,7 +6085,7 @@ Hanging Glyphs</h3>
60856085
and still participates in text justification:
60866086
its character advance is just not measured when determining
60876087
how much content fits on the line,
6088-
how much the line's contents need to be expanded or compressed for justification,
6088+
how much the lines contents need to be expanded or compressed for justification,
60896089
or how to position the content within the line box for text alignment.
60906090
Effectively, the [=hanging=] glyph character advance
60916091
is re-interpreted as an additional negative margin
@@ -6290,7 +6290,7 @@ Bidirectionality and Line Boxes</h3>
62906290
as applied by [[CSS-WRITING-MODES-3]]).
62916291

62926292
In most cases, a [=line box=]’s [=inline base direction=]
6293-
is given by its [=containing block=]'s computed 'direction'.
6293+
is given by its [=containing block=]s computed 'direction'.
62946294
However,
62956295
if its [=containing block=] has ''unicode-bidi: plaintext''
62966296
[[!CSS-WRITING-MODES-3]]:
@@ -6300,7 +6300,7 @@ Bidirectionality and Line Boxes</h3>
63006300
If the [=bidi paragraph=] to which the [=line box=] belongs
63016301
(that is, the [=bidi paragraph=] for which the line box holds content)
63026302
has strong directionality,
6303-
the line box's [=inline base direction=] is that direction.
6303+
the line boxs [=inline base direction=] is that direction.
63046304

63056305
<li>
63066306
If the [=line box=] is empty
@@ -6508,7 +6508,7 @@ Scripts and Spacing</h2>
65086508
Arabic,
65096509
Mandaic,
65106510
Mongolian,
6511-
N'Ko,
6511+
NKo,
65126512
Phags Pa,
65136513
Syriac
65146514

@@ -6713,7 +6713,7 @@ Space-Discarding Unicode Characters</h2>
67136713
see [[#line-break-transform]].
67146714

67156715
In most cases, “unbreaking” a line of text requires joining them with a space,
6716-
but some writing systems don't use spaces
6716+
but some writing systems dont use spaces
67176717
so such texts need to be joined without any space.
67186718
CSS uses the characters before and after to determine
67196719
whether to join lines with or without a space.
@@ -6740,7 +6740,7 @@ Space-Discarding Unicode Characters</h2>
67406740
* HTML/CSS
67416741
* Markdown
67426742
* TeX
6743-
* text editors' “unbreak lines” commands
6743+
* text editors “unbreak lines” commands
67446744
</details>
67456745
CUT SEGMENT BREAK TRANSFORM -->
67466746

@@ -6771,7 +6771,7 @@ Identifying the Content Writing System</h2>
67716771
authors can disambiguate or indicate the use of an atypical writing system
67726772
with script subtags.
67736773
For example, to indicate use of the Latin writing system
6774-
for languages which don't natively use it,
6774+
for languages which dont natively use it,
67756775
the <code>-Latn</code> script subtag can be added,
67766776
e.g. <code>ja-Latn</code> for Japanese romaji.
67776777
Other subtags exist for other writing systems,
@@ -7278,7 +7278,7 @@ Privacy and Security Considerations</h2>
72787278

72797279
This specification introduces no new security considerations.
72807280

7281-
This specification leaks the user's installed hyphenation and line-breaking dictionaries.
7281+
This specification leaks the users installed hyphenation and line-breaking dictionaries.
72827282

72837283
<h2 class="no-num" id="acknowledgements">
72847284
Acknowledgements</h2>

0 commit comments

Comments
 (0)