Skip to content

Commit d29cbe0

Browse files
committed
Clarify the left/right values of text-align by linking to writing modes spec.
1 parent ae68270 commit d29cbe0

2 files changed

Lines changed: 18 additions & 14 deletions

File tree

css3-text/Overview.html

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1894,18 +1894,20 @@ <h3 id=text-align><span class=secno>7.1. </span> Text Alignment: the
18941894
<dt><dfn id=left title="text-align:left">&lsquo;<code
18951895
class=css>left</code>&rsquo;</dfn>
18961896

1897-
<dd>The inline contents are aligned to the left edge of the line box. (In
1898-
vertical writing modes, &lsquo;<code class=property>left</code>&rsquo;
1899-
aligns to the edge of the line box that would be the start edge for
1900-
left-to-right text.)
1897+
<dd>The inline contents are aligned to the <a
1898+
href="http://www.w3.org/TR/css3-writing-modes/#line-left">line left</a>
1899+
edge of the line box. (Note that in vertical writing modes, this will be
1900+
either the physical top or bottom.) <a href="#CSS3-WRITING-MODES"
1901+
rel=biblioentry>[CSS3-WRITING-MODES]<!--{{CSS3-WRITING-MODES}}--></a>
19011902

19021903
<dt><dfn id=right title="text-align:right">&lsquo;<code
19031904
class=css>right</code>&rsquo;</dfn>
19041905

1905-
<dd>The inline contents are aligned to the right edge of the line box. (In
1906-
vertical writing modes, &lsquo;<code class=property>right</code>&rsquo;
1907-
aligns to the edge of the line box that would be the end edge for
1908-
left-to-right text.)
1906+
<dd>The inline contents are aligned to the <a
1907+
href="http://www.w3.org/TR/css3-writing-modes/#line-right">line right</a>
1908+
edge of the line box. (Note that in vertical writing modes, this will be
1909+
either the physical top or bottom.) <a href="#CSS3-WRITING-MODES"
1910+
rel=biblioentry>[CSS3-WRITING-MODES]<!--{{CSS3-WRITING-MODES}}--></a>
19091911

19101912
<dt><dfn id=center title="text-align:center">&lsquo;<code
19111913
class=css>center</code>&rsquo;</dfn>

css3-text/Overview.src.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1329,13 +1329,15 @@ <h3 id="text-align">
13291329
<dt><dfn title="text-align:end">''end''</dfn></dt>
13301330
<dd>The inline contents are aligned to the end edge of the line box.
13311331
<dt><dfn title="text-align:left">''left''</dfn></dt>
1332-
<dd>The inline contents are aligned to the left edge of the line box.
1333-
(In vertical writing modes, 'left' aligns to the edge of the line box
1334-
that would be the start edge for left-to-right text.)</dd>
1332+
<dd>The inline contents are aligned to the
1333+
<a href="http://www.w3.org/TR/css3-writing-modes/#line-left">line left</a>
1334+
edge of the line box. (Note that in vertical writing modes, this will
1335+
be either the physical top or bottom.) [[CSS3-WRITING-MODES]]</dd>
13351336
<dt><dfn title="text-align:right">''right''</dfn></dt>
1336-
<dd>The inline contents are aligned to the right edge of the line box.
1337-
(In vertical writing modes, 'right' aligns to the edge of the line box
1338-
that would be the end edge for left-to-right text.)</dd>
1337+
<dd>The inline contents are aligned to the
1338+
<a href="http://www.w3.org/TR/css3-writing-modes/#line-right">line right</a>
1339+
edge of the line box. (Note that in vertical writing modes, this will
1340+
be either the physical top or bottom.) [[CSS3-WRITING-MODES]]</dd>
13391341
<dt><dfn title="text-align:center">''center''</dfn></dt>
13401342
<dd>The inline contents are centered within the line box.
13411343
<dt><dfn title="text-align:justify">''justify''</dfn></dt>

0 commit comments

Comments
 (0)