Skip to content

Commit 960e3f1

Browse files
committed
[css-text] Rely on Bikeshed to handle cross-spec links.
--HG-- extra : rebase_source : 5e5214f27f96265dfe5ec443e0742ae3c2a9498c
1 parent 9e23c95 commit 960e3f1

2 files changed

Lines changed: 352 additions & 351 deletions

File tree

css-text/Overview.bs

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ Languages and Typesetting</h4>
268268
Many typographic effects vary by linguistic context.
269269
In CSS, language-specific typographic tailorings
270270
are only applied when the content language is known (declared).
271-
271+
272272
<strong class="advisement">Authors should tag their content accurately for the best typographic behavior.</strong>
273273

274274
<h2 id="transforming">
@@ -355,7 +355,7 @@ Languages and Typesetting</h4>
355355
so that they lay out and line break like ideographs:
356356
<pre>abbr:lang(ja) { text-transform: full-width; }</pre>
357357
</div>
358-
358+
359359
<p class="note">
360360
Note that, as defined in <a href="#order">Text Processing Order of Operations</a>,
361361
transforming text affects line-breaking and other formatting operations.
@@ -392,7 +392,7 @@ Languages and Typesetting</h4>
392392
The mapping to fullwidth form is defined by taking code points with
393393
the <code>&lt;wide&gt;</code> or the <code>&lt;narrow&gt;</code> tag
394394
in their <code>Decomposition_Mapping</code> in [[!UAX44]].
395-
For the <code>&lt;narrow&gt;</code> tag,
395+
For the <code>&lt;narrow&gt;</code> tag,
396396
the mapping is from the code point to the decomposition (minus <code>&lt;narrow&gt;</code> tag),
397397
and for the <code>&lt;wide&gt;</code> tag,
398398
the mapping is from the decomposition (minus the <code>&lt;wide&gt;</code> tag)
@@ -1367,7 +1367,7 @@ Canonical order: N/A
13671367
this will be either the physical top or bottom,
13681368
depending on 'text-orientation'.) [[CSS3-WRITING-MODES]]
13691369
<dt><dfn>right</dfn></dt>
1370-
<dd>Inline-level content is aligned to the
1370+
<dd>Inline-level content is aligned to the
13711371
<a href="http://www.w3.org/TR/css3-writing-modes/#line-right">line right</a>
13721372
edge of the line box.
13731373
(In vertical writing modes,
@@ -1714,7 +1714,7 @@ Handling Symbols and Punctuation</h4>
17141714
(or, if the character's script property is Common,
17151715
then as a <i>typographic letter unit</i> of the dominant script).
17161716

1717-
<p>However, by typographic tradition there may be additional rules
1717+
<p>However, by typographic tradition there may be additional rules
17181718
controlling the justification of symbols and punctuation.
17191719
Therefore, the UA may reassign specific characters
17201720
or introduce additional levels of prioritization
@@ -1781,7 +1781,7 @@ Possible Algorithms</h4>
17811781
how they are prioritized, or
17821782
when and how multiple levels of <i>justification opportunities</i> interact.
17831783
However, it does require that
1784-
1784+
17851785
<ul>
17861786
<li>
17871787
If a <i>justification opportunity</i> exists within a line,
@@ -1831,7 +1831,7 @@ Possible Algorithms</h4>
18311831
so a UA may, for example, bias towards compression for CJK languages
18321832
but towards expansion for Western alphabetic languages.
18331833

1834-
<p>As another example,
1834+
<p>As another example,
18351835
3.8 Line Adjustment in [[JLREQ]] gives an example of a set of rules for
18361836
how a text formatter can justify Japanese text.
18371837
A UA could use this algorithm when the 'text-justify' property is ''text-justify:auto''.
@@ -1915,7 +1915,7 @@ Word Spacing: the 'word-spacing' property</h3>
19151915
left in the text after the <a href="#white-space-rules">white space processing rules</a> have been applied,
19161916
and should be applied half on each side of the character
19171917
unless otherwise dictated by typographic tradition.
1918-
Values may be negative, but there may be implementation-dependent limits.
1918+
Values may be negative, but there may be implementation-dependent limits.
19191919

19201920
<div class="example">
19211921
<p>The following example will make all the spaces between words in Arabic
@@ -1996,7 +1996,7 @@ Word Spacing: the 'word-spacing' property</h3>
19961996
Depending on the justification rules in effect,
19971997
user agents may further increase or decrease the space between <i>typographic character units</i>
19981998
in order to <a href="#text-justify">justify text</a>.
1999-
1999+
20002000
<p>Values have the following meanings:
20012001

20022002
<dl dfn-for=letter-spacing dfn-type=value>
@@ -2090,7 +2090,7 @@ Word Spacing: the 'word-spacing' property</h3>
20902090
<p>Letter spacing ignores invisible zero-width formatting characters
20912091
(such as those from the Unicode Cf category).
20922092
Spacing must be added as if those characters did not exist in the document.
2093-
2093+
20942094
<p class="example">For example, 'letter-spacing' applied to
20952095
<code>A&amp;#x200B;B</code> is identical to <code>AB</code>,
20962096
regardless of where any element boundaries might fall.
@@ -2447,11 +2447,10 @@ Word Spacing: the 'word-spacing' property</h3>
24472447
<h3 id="bidi-linebox">
24482448
Bidirectionality and Line Boxes</h3>
24492449

2450-
<p>The <a href="http://www.w3.org/TR/css3-writing-modes/#start"><i>start</i></a>
2451-
and <a href="http://www.w3.org/TR/css3-writing-modes/#end"><i>end</i></> edges
2452-
of a line box are determined by the <i>inline base direction</i> of the line box.
2450+
<p>The <i>start</i> and <i>end</i> edges of a line box
2451+
are determined by the <i>inline base direction</i> of the line box.
24532452
In most cases, this is given by its containing block's computed 'direction'.
2454-
2453+
24552454
<p>However if its containing block has ''unicode-bidi: plaintext'' [[!CSS3-WRITING-MODES]],
24562455
the line box's <i>inline base direction</i> must be determined
24572456
by the <i>inline base direction</i> of the <i>bidi paragraph</i> to which it belongs:

0 commit comments

Comments
 (0)