Skip to content

Commit

Permalink
Merge pull request #5362 from dauwhe/master
Browse files Browse the repository at this point in the history
[css-inline-3] Add illustration of text-edge property
  • Loading branch information
dauwhe committed Aug 3, 2020
2 parents abc0367 + c2dc271 commit d8c62a9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions css-inline-3/Overview.bs
Expand Up @@ -1047,6 +1047,16 @@ Inline Box Edge Metrics: the 'text-edge' property</h3>
in which case the box’s own 'line-height' is used to add spacing--
the box’s margin, padding, and border also contribute
to the size of the [=line box=].

<figure>
<img src="images/text-edge.png" width="480"
alt="three different values of the text-edge property." >
<figcaption>
The 'text-edge' property, showing values for ''text-edge/leading'',
''text-edge/cap'', and ''text-edge/ex''.
The red lines indicate the layout bounds of the inline box.
</figcaption>
</figure>

<div class="note">
<p>When 'text-edge' is ''text-edge/leading'',
Expand Down
Binary file added css-inline-3/images/text-edge.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d8c62a9

Please sign in to comment.