Skip to content

Commit 559c584

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

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

css-layout-api/Overview.bs

+11
Original file line numberDiff line numberDiff line change
@@ -770,6 +770,17 @@ attributes represent the position of the {{LayoutFragment}} relative to its pare
770770
box</b>, before transform or positioning (e.g. if a fragment is [=relatively positioned=]) has
771771
been applied.
772772

773+
<figure>
774+
<img src="img/layout-fragment-offsets.png" width="800"
775+
alt="An example of position a fragment in different writing modes.">
776+
<figcaption>
777+
A simple visualization showing positioning a {{LayoutFragment}} using
778+
{{LayoutFragment/inlineOffset}} and {{LayoutFragment/blockOffset}} in different writing
779+
modes.
780+
</figcaption>
781+
</figure>
782+
783+
773784
<div class=example>
774785
The example below shows the basic usage of a {{LayoutFragment}}.
775786
<pre class='lang-javascript'>
22.9 KB
Loading

0 commit comments

Comments
 (0)