@@ -455,14 +455,18 @@ Creating Initial Letters: the 'initial-letters' property</h3>
455
455
456
456
<dt> <dfn><<number>></dfn>
457
457
<dd>
458
- This first argument defines the size of the initial letter
458
+ This first argument defines the <dfn dfn lt="initial letter size">size</a>
459
+ of the initial letter
459
460
in terms of how many lines it occupies.
460
461
Values less than one are invalid.
461
462
462
463
<dt><dfn><<integer>></dfn>
463
464
<dd>
464
465
This optional second argument
465
- defines the number of lines the initial letter should <dfn>sink</dfn> .
466
+ defines the number of lines the initial letter should
467
+ <dfn dfn lt="initial letter sink" local-lt="sink">sink</dfn> .
468
+ A value of ''1'' indicates a <a>raised initial</a> ;
469
+ values greater than ''1'' indiciate a <a>sunken initial</a> .
466
470
Values less than one are invalid.
467
471
If omitted, it duplicates the first argument,
468
472
floored to the nearest positive whole number.
@@ -574,7 +578,7 @@ Applicability</h4>
574
578
575
579
Note: The 'initial-letters' property cannot apply to any element
576
580
whose 'float' is not ''float/none'' or 'position' is not ''static'' ,
577
- because these values cause its 'display' to compute to ''block'' .
581
+ because these values cause its 'display' to compute to ''display/ block'' .
578
582
579
583
The effect of the 'initial-letters' property is undefined
580
584
on children of <a>ruby</a> base container boxes
@@ -1125,21 +1129,24 @@ Initial Letter Wrapping: the 'initial-letters-wrap' property</h3>
1125
1129
</div>
1126
1130
1127
1131
<div class="example">
1132
+ <pre>
1133
+ p::first-letter {
1134
+ initial-letters: 3;
1135
+ initial-letters-wrap: all;
1136
+ }
1137
+ </pre>
1138
+
1128
1139
<img src="images/V-wraparound.png" width="600"
1129
1140
alt="text wrapping around dropcap V">
1130
- </div>
1131
1141
1132
- <div class="example">
1133
1142
<img src="images/P-wraparound.png" width="600"
1134
1143
alt="text wrapping around dropcap P">
1135
- </div>
1136
1144
1137
- <div class="example">
1138
1145
<img src="images/W-wraparound.png" width="600"
1139
1146
alt="text wrapping around dropcap W">
1140
1147
</div>
1141
1148
1142
- <h3 id="initial-letter-indentation ">
1149
+ <h3 id="initial-letter-line-layout ">
1143
1150
Line Layout</h3>
1144
1151
1145
1152
An <a>initial letter box</a> is considered in-flow in its <a>block formatting context</a> ,
@@ -1151,12 +1158,12 @@ Line Layout</h3>
1151
1158
<h4 id="initial-letter-inline-flow">
1152
1159
Inline Flow Layout: Alignment and Justification</h4>
1153
1160
1154
- For a raised <a>initial letter box </a> ( <a>sink</a> of ''1'' )
1161
+ For a <a>raised initial </a>
1155
1162
no special consideration is given for alignment and justification:
1156
1163
it is treated similar to any other inline-level content.
1157
1164
1158
- However, if the <a>initial letter box </a> is sunk by more than ''1'' ,
1159
- then its inline-start edge is anchored to the inline-start edge
1165
+ However, for a <a>sunken initial </a>
1166
+ its inline-start edge is anchored to the inline-start edge
1160
1167
of the line box (after indentation)
1161
1168
and text alignment affects the remaining content of the line
1162
1169
in the remaining space,
@@ -1170,11 +1177,11 @@ Inline Flow Layout: Alignment and Justification</h4>
1170
1177
In addition, to ensure consistent alignment of all the impacted lines,
1171
1178
any 'letter-spacing' or <a>justification opportunity</a>
1172
1179
that would normally be introduced by
1173
- the juxtaposition of the contents of a sunken <a>initial letter </a>
1180
+ the juxtaposition of the contents of a <a>sunken initial </a>
1174
1181
and the subsequent contents of the line
1175
1182
is suppressed.
1176
1183
(Note that this does not affect 'word-spacing' or
1177
- the <a>justification opportunity</a> introduced by a <a>word separator</a>
1184
+ the <a>justification opportunity</a> introduced by a <a spec=css-text >word separator</a>
1178
1185
because that space is provided by the <a>typographic character unit</a> alone
1179
1186
and not by its juxtaposition with an adjacent character.)
1180
1187
0 commit comments