Skip to content

Commit fc26bfd

Browse files
committed
Improve diagrams
1 parent bcfe4c1 commit fc26bfd

8 files changed

Lines changed: 298 additions & 17 deletions

File tree

css3-writing-modes/Overview.html

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -500,9 +500,10 @@ <h2 id=text-direction><span class=secno>2. </span> Inline Direction and
500500
id=bidirectionality0>bidirectionality</dfn></span>, or "bidi" for short.
501501

502502
<div class=figure>
503-
<pre><span dir=rtl>با Unicode بنویس.</span> <!-- -->
504-
<!-- -->&lt;----- ------> &lt;-
505-
<!-- -->&lt;================</pre>
503+
<p><img alt="An example of bidirectional text is a Latin name in an Arabic
504+
sentence. The sentence overall is typeset right-to-left, but the letters
505+
in the Latin word in the middle are typeset left-to-right."
506+
src="diagrams/bidi.png">
506507

507508
<p class=caption>Bidirectionality</p>
508509
</div>
@@ -2241,15 +2242,13 @@ <h3 id=vertical-layout><span class=secno>7.1. </span> Principles of Layout
22412242
class=css>*-left</code>&rsquo; and &lsquo;<code
22422243
class=css>*-right</code>&rsquo; box properties (border, margin, padding)
22432244
use &lsquo;<code class=css>*-top</code>&rsquo; and &lsquo;<code
2244-
class=css>*-bottom</code>&rsquo; instead, and vice versa.
2245-
2246-
<p class=note>Which side of the box the property applies to doesn't
2247-
change: only which values are inputs to which layout calculations
2248-
changes. The &lsquo;<code class=property>margin-left</code>&rsquo;
2249-
property still affects the lefthand margin, for example; however in a
2250-
&lsquo;<a href="#vertical-rl"><code
2251-
class=css>vertical-rl</code></a>&rsquo; writing mode it takes part in
2252-
margin collapsing in place of &lsquo;<code
2245+
class=css>*-bottom</code>&rsquo; instead, and vice versa. Which side of
2246+
the box the property applies to doesn't change: only which values are
2247+
inputs to which layout calculations changes. The &lsquo;<code
2248+
class=property>margin-left</code>&rsquo; property still affects the
2249+
lefthand margin, for example; however in a &lsquo;<a
2250+
href="#vertical-rl"><code class=css>vertical-rl</code></a>&rsquo;
2251+
writing mode it takes part in margin collapsing in place of &lsquo;<code
22532252
class=property>margin-bottom</code>&rsquo;.</p>
22542253

22552254
<li>

css3-writing-modes/Overview.src.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,11 @@ <h2 id="text-direction">
233233
"bidi" for short.</p>
234234

235235
<div class="figure">
236-
<pre><span dir="rtl">با Unicode بنویس.</span> <!-- -->
237-
<!-- -->&lt;----- ------> &lt;-
238-
<!-- -->&lt;================</pre>
236+
<p><img src="diagrams/bidi.png"
237+
alt="An example of bidirectional text is a Latin name in an Arabic
238+
sentence. The sentence overall is typeset right-to-left, but
239+
the letters in the Latin word in the middle are typeset
240+
left-to-right.">
239241
<p class="caption">Bidirectionality</p>
240242
</div>
241243

@@ -1619,8 +1621,7 @@ <h3 id="vertical-layout">
16191621
and vice versa.
16201622
<li><p>Layout rules that refer to the '*-left' and '*-right' box
16211623
properties (border, margin, padding) use '*-top' and '*-bottom'
1622-
instead, and vice versa.
1623-
<p class="note">Which side of the
1624+
instead, and vice versa. Which side of the
16241625
box the property applies to doesn't change: only which values
16251626
are inputs to which layout calculations changes. The 'margin-left'
16261627
property still affects the lefthand margin, for example; however
-1022 Bytes
Loading
-999 Bytes
Loading

css3-writing-modes/baselines.gif

-1.31 KB
Loading
4.94 KB
Loading
Lines changed: 281 additions & 0 deletions
Loading
-2.6 KB
Loading

0 commit comments

Comments
 (0)