Skip to content

Commit d7bdbde

Browse files
committed
[css-logical][css-writing-modes] Improve figure caption, adjust markup. w3c#5505
1 parent 8899173 commit d7bdbde

3 files changed

Lines changed: 20 additions & 28 deletions

File tree

css-logical-1/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spec:css-writing-modes-3; type:dfn; text:end
2525
@media (min-width: 40em) {
2626
#mapping-diagram figure {
2727
width: 49%;
28-
float: right;
28+
float: left;
2929
}
3030
#mapping-diagram figure:first-of-type {
3131
margin-right: 2%;
@@ -117,7 +117,7 @@ Introduction</h2>
117117
<figure>
118118
<img src="diagrams/sizing-ttb-rl.svg">
119119
<figcaption>
120-
Correspondence of physical and flow-relative terms in typical Chinese text layout
120+
Correspondence of physical and flow-relative terms in vertical Chinese text layout
121121
</figcaption>
122122
</figure>
123123
</div>

css-writing-modes-3/Overview.bs

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1583,24 +1583,20 @@ Flow-relative Directions</h3>
15831583
are used in place of <a>block-start</a>/<a>inline-start</a>
15841584
and <a>block-end</a>/<a>inline-end</a>, respectively.
15851585

1586+
<figure>
1587+
<img src="diagrams/sizing-ltr-tb.svg">
1588+
<figcaption>Physical/logical terms as applicable to typical English text layout</figcaption>
1589+
</figure>
1590+
<figure>
1591+
<img src="diagrams/sizing-ttb-rl.svg">
1592+
<figcaption>Physical/logical terms as applicable to vertical Chinese text layout</figcaption>
1593+
</figure>
1594+
15861595
<p class="note">Note that while determining the <a>block-start</a> and
15871596
<a>block-end</a> sides of a box depends only on the 'writing-mode' property,
15881597
determining the <a>inline-start</a> and <a>inline-end</a> sides of a box depends
15891598
not only on the 'writing-mode' property but also the 'direction' property.</p>
15901599

1591-
<div class="example">
1592-
<figure>
1593-
<img src="diagrams/sizing-ltr-tb.svg">
1594-
<figcaption>Physical/logical terms as applicable to typical English text layout</figcaption>
1595-
</figure>
1596-
</div>
1597-
<div class="example">
1598-
<figure>
1599-
<img src="diagrams/sizing-ttb-rl.svg">
1600-
<figcaption>Physical/logical terms as applicable to typical Chinese text layout</figcaption>
1601-
</figure>
1602-
</div>
1603-
16041600
<h3 id="line-directions">
16051601
Line-relative Directions</h3>
16061602

css-writing-modes-4/Overview.bs

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1655,24 +1655,20 @@ Flow-relative Directions</h3>
16551655
are used in place of <a>block-start</a>/<a>inline-start</a>
16561656
and <a>block-end</a>/<a>inline-end</a>, respectively.
16571657

1658+
<figure>
1659+
<img src="diagrams/sizing-ltr-tb.svg">
1660+
<figcaption>Physical/logical terms as applicable to typical English text layout</figcaption>
1661+
</figure>
1662+
<figure>
1663+
<img src="diagrams/sizing-ttb-rl.svg">
1664+
<figcaption>Physical/logical terms as applicable to vertical Chinese text layout</figcaption>
1665+
</figure>
1666+
16581667
<p class="note">Note that while determining the <a>block-start</a> and
16591668
<a>block-end</a> sides of a box depends only on the 'writing-mode' property,
16601669
determining the <a>inline-start</a> and <a>inline-end</a> sides of a box depends
16611670
not only on the 'writing-mode' property but also the 'direction' property.</p>
16621671

1663-
<div class="example">
1664-
<figure>
1665-
<img src="diagrams/sizing-ltr-tb.svg">
1666-
<figcaption>Physical/logical terms as applicable to typical English text layout</figcaption>
1667-
</figure>
1668-
</div>
1669-
<div class="example">
1670-
<figure>
1671-
<img src="diagrams/sizing-ttb-rl.svg">
1672-
<figcaption>Physical/logical terms as applicable to typical Chinese text layout</figcaption>
1673-
</figure>
1674-
</div>
1675-
16761672
<h3 id="line-directions">
16771673
Line-relative Directions</h3>
16781674

0 commit comments

Comments
 (0)