Skip to content

Commit 91b02cc

Browse files
committed
[css-inline-3][editorial] Markup fixes
1 parent 5a89be6 commit 91b02cc

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

css-inline-3/Overview.bs

+11-12
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,16 @@ At Risk: the 'initial-letter-wrap' property
2626

2727
<pre class="link-defaults">
2828
spec:css-align-3; type:dfn; text:alignment baseline
29+
spec:css-backgrounds-3; type:property; text:box-shadow
2930
spec:css-box; type:dfn; text:content area
3031
spec:css-break-3; type:dfn; text:fragment
3132
spec:css-shapes-1; type:property; text:shape-margin
3233
spec:svg2; type:dfn; text: current text position
3334
spec:css-writing-modes-3; type:dfn; text:baseline
3435
spec:css-fonts-4; type:property; text:font-language-override
3536
spec:css-align-3; type:value; for:align-content; text:center
37+
spec:css2; type:value; for:float; text:none
38+
3639
</pre>
3740

3841
<h2 id="intro">
@@ -870,7 +873,7 @@ Post-Alignment Shift: the 'baseline-shift' longhand</h4>
870873
</pre>
871874

872875
This property specifies the box’s <dfn>post-alignment shift</dfn>.
873-
The <dfn local-lt="baseline-relative values">baseline-relative shift values</dfn>
876+
The <dfn local-lt="baseline-relative values" noexport>baseline-relative shift values</dfn>
874877
<<length-percentage>>, ''baseline-shift/sub'', ''baseline-shift/super''
875878
shift the box relative to its baseline-aligned position,
876879
whereas the <dfn local-lt="line-relative values">line-relative shift values</dfn>
@@ -1356,10 +1359,6 @@ Trimming Leading Over/Under Text</h2>
13561359
<h3 id="text-box-shorthand">
13571360
Shorthand for Text Box Trimming: the 'text-box' property</h3>
13581361

1359-
ISSUE: This propdef table is fully expanded to evaluate and adjust the shorthand's value space.
1360-
It simplifies down to <<text-box-trim>> || <<text-box-edge>>
1361-
minus the ''text-box-trim/none'' and ''text-box-edge/auto'' keywords.
1362-
13631362
<pre class="propdef">
13641363
Name: text-box
13651364
Value: normal | <<'text-box-trim'>> || <<'text-box-edge'>>
@@ -1374,7 +1373,7 @@ Shorthand for Text Box Trimming: the 'text-box' property</h3>
13741373
This property is a [=shorthand=] for setting the 'text-box-trim' and 'text-box-edge' properties
13751374
in a single declaration.
13761375

1377-
If the single keyword <dfn for=text-box type=value>normal</dfn> is specified,
1376+
If the single keyword <dfn for=text-box value>normal</dfn> is specified,
13781377
it sets 'text-box-trim' to ''text-box-trim/none''
13791378
and 'text-box-edge' to ''text-box-edge/auto''.
13801379
Otherwise, omitting the 'text-box-trim' value sets it to ''text-box-trim/both'' (not the initial value),
@@ -1468,7 +1467,7 @@ Trimming Over/Under Text: the 'text-box-trim' property</h3>
14681467
due to non-initial values of 'text-box-trim'
14691468
is handled the same as content that would overflow the box or line box otherwise.
14701469

1471-
<h3 id="text-box-trim">
1470+
<h3 id="text-box-edge">
14721471
Text Trimming Metrics: the 'text-box-edge' property</h3>
14731472

14741473
<pre class="propdef">
@@ -1484,7 +1483,7 @@ Text Trimming Metrics: the 'text-box-edge' property</h3>
14841483

14851484
This property specifies the metrics to use for 'text-box-trim' effects.
14861485
Values have the same meanings as for 'line-fit-edge';
1487-
the <dfn for=text-box-edge type=value>auto</dfn> keyword
1486+
the <dfn for=text-box-edge value>auto</dfn> keyword
14881487
computes to the value of 'line-fit-edge',
14891488
interpreting ''line-fit-edge/leading'' (the [=initial value=]) as ''line-fit-edge/text''.
14901489

@@ -1905,8 +1904,8 @@ Applicability</h4>
19051904
and it is not formatted as an <a>initial letter</a>.
19061905

19071906
The effect of the 'initial-letter' property is undefined
1908-
on children of <a>ruby</a> base container boxes
1909-
and on <a>ruby</a> container boxes.
1907+
on children of [=ruby base container boxes=]
1908+
and on [=ruby container boxes=].
19101909

19111910
Note: The 'initial-letter' property cannot apply to any element
19121911
whose 'float' is not ''float/none'' or 'position' is not ''static'',
@@ -1999,11 +1998,11 @@ Alignment of Initial Letters: the 'initial-letter-align' property</h3>
19991998
use its <a>over</a> and <a>under</a> content-box edges.
20001999

20012000
<li>Else if the <a>initial letter</a>
2002-
contains any character from the Han, Hangul, Kana, or Yi <a>Unicode scripts</a>,
2001+
contains any character having the Han, Hangul, Kana, or Yi [=Unicode script=] property,
20032002
use the [=ideographic-ink-over=] and [=ideographic-ink-under=] baselines.
20042003

20052004
<li>Else if the <a>initial letter</a>
2006-
contains any character from the Devanagari, Bengali, and Gurmukhi <a>Unicode scripts</a>,
2005+
contains any character having the Han, Hangul, Kana, or Yi [=Unicode script=] property,
20072006
use the [=hanging=] and [=alphabetic=] baselines.
20082007

20092008
<li>Else use the [=cap-height=] and [=alphabetic=] baselines.

0 commit comments

Comments
 (0)