Skip to content

Commit 921f8bc

Browse files
committed
Clarify application of vertical-align to margin boxes. Update link to Writing Modes.
1 parent 4709786 commit 921f8bc

2 files changed

Lines changed: 27 additions & 11 deletions

File tree

css3-page/Overview.html

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -707,11 +707,13 @@ <h3 id=progression><span class=secno>4.3. </span>Page Progression</h3>
707707
</ul>
708708

709709
<p>If the UA supports the ‘<code class=property>direction</code>’ and
710-
<code class=property>block-progression</code>’ properties from the
711-
CSS 3 Text Layout Module <a href="#CSS3TEXTLAYOUT"
712-
rel=biblioentry>[CSS3TEXTLAYOUT]<!--{{CSS3TEXTLAYOUT}}--></a>, it must
713-
determine whether the first page is a left or right page from the values
714-
of those properties on the root element.</p>
710+
<code class=property>writing-mode</code>’ properties from the CSS 3
711+
Writing Modes Module <a href="#CSS3-WRITING-MODES"
712+
rel=biblioentry>[CSS3-WRITING-MODES]<!--{{CSS3-WRITING-MODES}}--></a>, it
713+
must <a
714+
href="http://www.w3.org/TR/css3-writing-modes/#page-direction">determine</a>
715+
whether the first page is a left or right page from the values of those
716+
properties on the root element.</p>
715717

716718
<p>To explicitly force a document to begin printing on a left or right
717719
page, authors can <a href="#page-break-before">insert a page break
@@ -1785,6 +1787,12 @@ <h2 id=page-properties><span class=secno>7. </span>Page Properties</h2>
17851787
class=css>normal</code>’ value of the ‘<code
17861788
class=property>content</code>’ property computes to ‘<code
17871789
class=css>none</code>’ on margin boxes.
1790+
1791+
<li>On margin boxes, the ‘<code
1792+
class=property>vertical-align</code>’ property behaves <a
1793+
href="http://www.w3.org/TR/CSS21/tables.html#height-layout">as
1794+
specified for table cells</a>. It <em>always</em> performs alignment in
1795+
the vertical dimension, regardless of writing mode.
17881796
</ul>
17891797

17901798
<p>It is <em class=RFC2119>recommended</em> that user agents establish a
@@ -3591,11 +3599,14 @@ <h3 class=no-num id=informative-references>Informative References</h3>
35913599
style="display: none"><!-- keeps the doc valid if the DL is empty -->
35923600
<!---->
35933601

3594-
<dt id=CSS3TEXTLAYOUT>[CSS3TEXTLAYOUT]
3602+
<dt id=CSS3-WRITING-MODES>[CSS3-WRITING-MODES]
35953603

3596-
<dd>Elika J. Etemad; Koji Ishii; Shinyu Murakami. <cite>CSS Writing
3597-
Modes Module.</cite> (forthcoming). W3C Working Draft. (Work in
3598-
progress.)</dd>
3604+
<dd>Elika J. Etemad; Koji Ishii. <a
3605+
href="http://www.w3.org/TR/2012/WD-css3-writing-modes-20120501/"><cite>CSS
3606+
Writing Modes Module Level 3.</cite></a> 1 May 2012. W3C Working Draft.
3607+
(Work in progress.) URL: <a
3608+
href="http://www.w3.org/TR/2012/WD-css3-writing-modes-20120501/">http://www.w3.org/TR/2012/WD-css3-writing-modes-20120501/</a>
3609+
</dd>
35993610
<!---->
36003611
</dl>
36013612
<!--end-informative--></div>

css3-page/Overview.src.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,8 +435,9 @@ <h3 id="progression">Page Progression</h3>
435435
same as the block progression.</li>
436436
</ul>
437437

438-
<p>If the UA supports the 'direction' and 'block-progression' properties
439-
from the CSS 3 Text Layout Module [[CSS3TEXTLAYOUT]], it must determine
438+
<p>If the UA supports the 'direction' and 'writing-mode' properties
439+
from the CSS 3 Writing Modes Module [[CSS3-WRITING-MODES]], it must
440+
<a href="http://www.w3.org/TR/css3-writing-modes/#page-direction">determine</a>
440441
whether the first page is a left or right page from the values of those
441442
properties on the root element.</p>
442443

@@ -1279,6 +1280,10 @@ <h2 id="page-properties">Page Properties</h2>
12791280
described below</a>.</li>
12801281
<li>As on the '::before' and '::after' pseudo-classes, the ''normal'' value of
12811282
the 'content' property computes to ''none'' on margin boxes.</li>
1283+
<li>On margin boxes, the 'vertical-align' property behaves
1284+
<a href="http://www.w3.org/TR/CSS21/tables.html#height-layout">as specified for table cells</a>.
1285+
It <em>always</em> performs alignment in the vertical dimension,
1286+
regardless of writing mode.
12821287
</ul>
12831288

12841289
<p>It is <em class="RFC2119">recommended</em> that user agents establish a default

0 commit comments

Comments
 (0)