Skip to content

Commit 0cf552d

Browse files
committed
[css-align] Make self-start/end compute to start/end when orthogonal.
1 parent c95f6d7 commit 0cf552d

2 files changed

Lines changed: 14 additions & 6 deletions

File tree

css-align/Overview.html

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<meta content="CSS Box Alignment Module Level 3" name=dcterms.title>
1313
<meta content=text name=dcterms.type>
14-
<meta content=2013-12-13 name=dcterms.date>
14+
<meta content=2014-02-04 name=dcterms.date>
1515
<meta content="Elika J. Etemad" name=dcterms.creator>
1616
<meta content="Tab Atkins Jr." name=dcterms.creator>
1717
<meta content=W3C name=dcterms.publisher>
@@ -36,11 +36,11 @@
3636

3737
<h1>CSS Box Alignment Module Level 3</h1>
3838

39-
<h2 class="no-num no-toc">Editor's Draft 13 December 2013</h2>
39+
<h2 class="no-num no-toc">Editor's Draft 4 February 2014</h2>
4040

4141
<dl>
4242
<dt>This version:
43-
<!--<dd><a href="http://dev.w3.org/csswg/css-align/">http://www.w3.org/TR/2013/WD-css-align-20131213/</a>-->
43+
<!--<dd><a href="http://dev.w3.org/csswg/css-align/">http://www.w3.org/TR/2014/WD-css-align-20140204/</a>-->
4444

4545
<dd><a
4646
href="http://dev.w3.org/csswg/css-align/">http://dev.w3.org/csswg/css-align</a>
@@ -87,7 +87,7 @@ <h2 class="no-num no-toc">Editor's Draft 13 December 2013</h2>
8787
<!--begin-copyright-->
8888
<p class=copyright><a
8989
href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright"
90-
rel=license>Copyright</a> © 2013 <a href="http://www.w3.org/"><abbr
90+
rel=license>Copyright</a> © 2014 <a href="http://www.w3.org/"><abbr
9191
title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> (<a
9292
href="http://www.csail.mit.edu/"><abbr
9393
title="Massachusetts Institute of Technology">MIT</abbr></a>, <a
@@ -560,15 +560,19 @@ <h3 id=positional-values><span class=secno>3.1. </span> Positional
560560
to be flush with the edge of the <a
561561
href="#alignment-container"><i>alignment container</i></a> corresponding
562562
to the <a href="#alignment-subject"><i>alignment subject</i></a>’s
563-
start side.
563+
start side. If the <a>writing modes</a> of the <a>alignment subject</a>
564+
and the <a>alignment container</a> are <a>orthogonal</a>, this value
565+
computes to ‘<a href="#start"><code class=css>start</code></a>’.
564566

565567
<dt><dfn id=self-end><code class=css>self-end</code></dfn>
566568

567569
<dd>Aligns the <a href="#alignment-subject"><i>alignment subject</i></a>
568570
to be flush with the edge of the <a
569571
href="#alignment-container"><i>alignment container</i></a> corresponding
570572
to the <a href="#alignment-subject"><i>alignment subject</i></a>’s end
571-
side.
573+
side. If the <a>writing modes</a> of the <a>alignment subject</a> and the
574+
<a>alignment container</a> are <a>orthogonal</a>, this value computes to
575+
<a href="#end"><code class=css>end</code></a>’.
572576

573577
<dt><dfn id=flex-start><code class=css>flex-start</code></dfn>
574578

css-align/Overview.src.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,14 @@ <h3 id='positional-values'>
269269
<dt><dfn>''self-start''</dfn>
270270
<dd>Aligns the <i>alignment subject</i> to be flush with the edge of the <i>alignment container</i>
271271
corresponding to the <i>alignment subject</i>’s start side.
272+
If the <a>writing modes</a> of the <a>alignment subject</a> and the <a>alignment container</a> are <a>orthogonal</a>,
273+
this value computes to ''start''.
272274

273275
<dt><dfn>''self-end''</dfn>
274276
<dd>Aligns the <i>alignment subject</i> to be flush with the edge of the <i>alignment container</i>
275277
corresponding to the <i>alignment subject</i>’s end side.
278+
If the <a>writing modes</a> of the <a>alignment subject</a> and the <a>alignment container</a> are <a>orthogonal</a>,
279+
this value computes to ''end''.
276280

277281
<dt><dfn>''flex-start''</dfn>
278282
<dd><strong>Only used in flex layout.</strong> [[!CSS3-FLEXBOX]]

0 commit comments

Comments
 (0)