File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -1119,13 +1119,20 @@ Inline Box Edge Metrics: the 'text-edge' property</h3>
11191119 Use the [=alphabetic baseline=] .
11201120 </dl>
11211121
1122- All values apply negative [=half-leading=] .
1123-
11241122 Unless 'text-edge' is ''text-edge/leading'' --
11251123 in which case the box’s own 'line-height' is used to add spacing--
11261124 the box’s margin, padding, and border also contribute
11271125 to the [=layout bounds=] .
1128-
1126+
1127+ Note: Although only ''text-edge/leading'' applies positive [=half-leading=] ,
1128+ in order to allow text to be set tightly,
1129+ all values apply negative [=half-leading=] ,
1130+ see [[#inline-height]] .
1131+ Half-leading is applied equally to both sides of the text;
1132+ for more precise overlap control authors can use
1133+ ''text-edge: text'' together with negative [=margins=]
1134+ on the affected text.
1135+
11291136 <figure>
11301137 <img src="images/text-edge.png" width="480"
11311138 alt="three different values of the text-edge property." >
@@ -1150,7 +1157,6 @@ Inline Box Edge Metrics: the 'text-edge' property</h3>
11501157 to avoid overlap between lines.
11511158 </div>
11521159
1153-
11541160<h3 id="inline-height">
11551161Calculating the Logical Height Contributions (“Layout Bounds”) of Inline Boxes</h3>
11561162
You can’t perform that action at this time.
0 commit comments