@@ -1300,7 +1300,7 @@ Half-Leading Control: the 'leading-trim' property
1300
1300
On [=block containers=] ,
1301
1301
specifies whether to trim [=half-leading=]
1302
1302
at the start/end of its content
1303
- to the corresponding 'text-edge' metric of its [=root inline box=]
1303
+ to the corresponding 'text-edge' metric
1304
1304
to better match the box’s [=content edge=] to its text content.
1305
1305
1306
1306
This property has no effect when 'text-edge' is ''text-edge/leading'' .
@@ -1324,7 +1324,9 @@ Half-Leading Control: the 'leading-trim' property
1324
1324
For [=block containers=] :
1325
1325
trim the
[=block-start=] side of the
first formatted line
1326
1326
to the corresponding 'text-edge' metric of its [=root inline box=] .
1327
- (If there is no such line, there is no effect.)
1327
+ If there is no such line,
1328
+ or if there is intervening non-zero padding or borders,
1329
+ there is no effect.
1328
1330
1329
1331
For [=inline boxes=] :
1330
1332
trims the [=block-end=] side of the box
@@ -1336,7 +1338,9 @@ Half-Leading Control: the 'leading-trim' property
1336
1338
For [=block containers=] :
1337
1339
trim the [=block-end=] side of the last formatted line
1338
1340
to the corresponding 'text-edge' metric of its [=root inline box=] .
1339
- (If there is no such line, there is no effect.)
1341
+ If there is no such line,
1342
+ or if there is intervening non-zero padding or borders,
1343
+ there is no effect.
1340
1344
1341
1345
For [=inline boxes=] :
1342
1346
trims the [=block-end=] side of the box
@@ -2916,6 +2920,9 @@ Changes
2916
2920
to handle common practices for certain Indic scripts.
2917
2921
2918
2922
2923
+
2924
+ Make non-zero padding and border block effects of 'leading-trim' from ancestors.
2925
+
2919
2926
2920
2927
2921
2928
Changes since the
0 commit comments