Skip to content

Commit c2dc271

Browse files
committed
[css-inline-3] add figure with illustration of values of text-edge
1 parent 6e0f283 commit c2dc271

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

css-inline-3/Overview.bs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,6 +1047,16 @@ Inline Box Edge Metrics: the 'text-edge' property</h3>
10471047
in which case the box’s own 'line-height' is used to add spacing--
10481048
the box’s margin, padding, and border also contribute
10491049
to the size of the [=line box=].
1050+
1051+
<figure>
1052+
<img src="images/text-edge.png" width="480"
1053+
alt="three different values of the text-edge property." >
1054+
<figcaption>
1055+
The 'text-edge' property, showing values for ''text-edge/leading'',
1056+
''text-edge/cap'', and ''text-edge/ex''.
1057+
The red lines indicate the layout bounds of the inline box.
1058+
</figcaption>
1059+
</figure>
10501060

10511061
<div class="note">
10521062
<p>When 'text-edge' is ''text-edge/leading'',

0 commit comments

Comments
 (0)