@@ -1300,7 +1300,7 @@ Half-Leading Control: the 'leading-trim' property</h3>
13001300 On [=block containers=] ,
13011301 specifies whether to trim [=half-leading=]
13021302 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
13041304 to better match the box’s [=content edge=] to its text content.
13051305
13061306 This property has no effect when 'text-edge' is ''text-edge/leading'' .
@@ -1324,7 +1324,9 @@ Half-Leading Control: the 'leading-trim' property</h3>
13241324 For [=block containers=] :
13251325 trim the [=block-start=] side of the <a>first formatted line</a>
13261326 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.
13281330
13291331 For [=inline boxes=] :
13301332 trims the [=block-end=] side of the box
@@ -1336,7 +1338,9 @@ Half-Leading Control: the 'leading-trim' property</h3>
13361338 For [=block containers=] :
13371339 trim the [=block-end=] side of the last formatted line
13381340 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.
13401344
13411345 For [=inline boxes=] :
13421346 trims the [=block-end=] side of the box
@@ -2916,6 +2920,9 @@ Changes</h2>
29162920 to handle common practices for certain Indic scripts.
29172921 See <a href="https://www.w3.org/TR/ilreq/#h_scripts_without_hanging_baseline">Indic Layout Requirements</a> .
29182922 (<a href="https://github.com/w3c/csswg-drafts/issues/864">Issue 864</a> )
2923+
2924+ <li> Make non-zero padding and border block effects of 'leading-trim' from ancestors.
2925+ (<a href="https://github.com/w3c/csswg-drafts/issues/5237">Issue 5237</a> )
29192926 </ul>
29202927
29212928 Changes since the
0 commit comments