Skip to content

Commit d3c959d

Browse files
committed
[css-layout-api] Add image for LayoutEdges.
1 parent 559c584 commit d3c959d

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

css-layout-api/Overview.bs

+9
Original file line numberDiff line numberDiff line change
@@ -1135,6 +1135,15 @@ dimensions=] ({{LayoutEdges/inlineStart}}, {{LayoutEdges/inlineEnd}}, {{LayoutEd
11351135
The {{LayoutEdges/inline}}, and {{LayoutEdges/block}} on the {{LayoutEdges}} object are convenience
11361136
attributes which represent the sum in that direction.
11371137

1138+
<figure>
1139+
<img src="img/edges.png" width="800"
1140+
alt="An example of layout edges.">
1141+
<figcaption>
1142+
A visualization showing the {{LayoutEdges}} object for a [=box=] with different sized
1143+
scrollbar, border, and padding.
1144+
</figcaption>
1145+
</figure>
1146+
11381147
<div class="example">
11391148
This example shows an node styled by CSS, and what its respective {{LayoutEdges}} could contain.
11401149

css-layout-api/img/edges.png

15.3 KB
Loading

0 commit comments

Comments
 (0)