Skip to content

Commit 026cf1d

Browse files
committed
[css-inline-3] Define fragmentation restrictions on initial letters. #2404
1 parent 005be53 commit 026cf1d

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

css-inline-3/Overview.bs

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ Link Defaults: css-fonts-3 (property) font-family, css-color-3 (property) color
2626
At Risk: the 'initial-letter-wrap' property
2727
</pre>
2828

29+
<pre class="link-defaults">
30+
spec:css-break-3; type:dfn; text:fragment
31+
</pre>
32+
2933
<h2 id="intro">
3034
Introduction</h2>
3135

@@ -65,7 +69,7 @@ Dominant Baselines: the 'dominant-baseline' property</h3>
6569
This property specifies the <dfn>dominant baseline</dfn>,
6670
which is the baseline used to align the box's text and inline-level contents.
6771
It is also indicates the default <a>alignment baseline</a>
68-
of any boxes participating in <a>basline alignment</a>
72+
of any boxes participating in <a>baseline alignment</a>
6973
in the box’s <a>alignment context</a>.
7074
Values have the following meanings:
7175

@@ -1180,6 +1184,33 @@ Interaction with floats</h4>
11801184

11811185
Issue: Is this the behavior we want? What if the float is on the same line as the initial letter?
11821186

1187+
<h4 id="intial-letter-breaking">
1188+
Interaction with Fragmentation (Pagination)</h4>
1189+
1190+
Since a single glyph cannot be <a>fragmented</a> across
1191+
pages (or columns or other <a>fragmentation containers</a>),
1192+
an <a>initial letter</a> is considered <a spec="css-break-3">monolithic</a> [[css-break-3]]
1193+
for the purpose of block-axis <a>fragmentation</a>
1194+
(breaking across pages, columns, regions, etc.).
1195+
Additionally,
1196+
breaks between the in-flow lines alongside an <a>initial letter box</a>
1197+
are avoided,
1198+
much as breaks between line boxes affected be 'widows' and 'orphans'
1199+
are avoided.
1200+
However,
1201+
if there is a <a>forced break</a>
1202+
alongside the <a>initial letter box</a>,
1203+
then it takes precedence;
1204+
but has no effect on the <a>initial letter box</a> itself.
1205+
1206+
As with other <a spec="css-break-3">monolithic</a> objects,
1207+
if an <a>initial letter box</a> occurs
1208+
at the top of a <a>fragmentation container</a>
1209+
and that <a>fragmentation container</a> is too short to contain it,
1210+
it may be either truncated or sliced.
1211+
Adjacent content, however, must be <a>fragmented</a> according to its own rules,
1212+
not truncated or sliced along with the <a>initial letter</a>.
1213+
11831214
<h2 class="no-num" id="baseline-synthesis">
11841215
Appendix A: Synthesizing Alignment Metrics</h2>
11851216

0 commit comments

Comments
 (0)