- From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 20 May 2011 06:58:43 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-writing-modes
In directory hutz:/tmp/cvs-serv25557
Modified Files:
Overview.html Overview.src.html
Log Message:
expand purely-physical list
Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-writing-modes/Overview.html,v
retrieving revision 1.123
retrieving revision 1.124
diff -u -d -r1.123 -r1.124
--- Overview.html 20 May 2011 02:09:56 -0000 1.123
+++ Overview.html 20 May 2011 06:58:41 -0000 1.124
@@ -2455,41 +2455,35 @@
Flow-Relative Mappings</h3>
<p>Flow-relative directions are calculated with respect to the writing mode
- of the element and used to abstract layout related to padding and border
- properties. For example, if an element had computed values of ‘<code
- class=css>direction: ltr; writing-mode: vertical-lr; text-orientation:
- vertical-right</code>’, ‘<code
- class=property>padding-top</code>’ would give its start padding, and
- ‘<code class=property>padding-left</code>’ would give its
- before padding.
-
- <p>Flow-relative directions are calculated with respect to the writing mode
- of the <em>parent</em> of the element and used to abstract layout related
- to the margin properties and the ‘<a href="#top"><code
+ of the <em>containing block</em> of the element and used to abstract
+ layout rules related to the box properties (margins, borders, padding) and
+ any properties related to positioning the box within its containing block
+ (‘<code class=property>float</code>’, ‘<code
+ class=property>clear</code>’, ‘<a href="#top"><code
class=property>top</code></a>’, ‘<a href="#bottom"><code
class=property>bottom</code></a>’, ‘<a href="#left"><code
- class=property>left</code></a>’, and ‘<a href="#right"><code
- class=property>right</code></a>’ properties. (For the root element,
- which has no parent, the values of the writing mode of the element is used
- instead.)
+ class=property>left</code></a>’, ‘<a href="#right"><code
+ class=property>right</code></a>’) For inline-level elements, the
+ writing mode of the <em>parent element</em> is used instead.
+
+ <p>For example, the margin that is dropped when a box's inline dimension is
+ <a
+ href="http://www.w3.org/TR/CSS21/visudet.html#blockwidth">over-constrained</a>
+ is the end margin as determined by the writing mode of the containing
+ block.
<p>The <a
href="http://www.w3.org/TR/CSS21/box.html#collapsing-margins">margin
collapsing rules</a> apply exactly with the <em>before margin</em>
substituted for the top margin and the <em>after margin</em> substituted
- for the bottom margin. Similarly the padding and border on the same side
- as the before margin is substituted for the top padding and border, and
- the padding and border on the same side as the after margin for the bottom
- padding and border. Note this means only before and after margins ever
- collapse.
-
- <p class=note>The parent element is used instead of the containing block,
- because the benefit of using the containing block is very rare, but the
- cost to implement it is rather high for implementations that do
- abstract-physical mapping at cascade time.
+ for the bottom margin. Similarly the before padding and border are
+ substituted for the top padding and border, and the after padding and
+ border substituted for the bottom padding and border. Note this means only
+ before and after margins ever collapse.
- <p>The start and end directions are also used for inline layout as follows:
-
+ <p>Flow-relative directions are calculated with respect to the writing mode
+ of the element and used to abstract layout related to the element's
+ contents:
<ul>
<li>The initial value of the ‘<code
@@ -2563,13 +2557,17 @@
respond to changes in writing mode:
<ul>
- <li>all values of ‘<code
- class=property>background-repeat</code>’
-
<li>the ‘<code class=css>rect()</code>’ notation of the
‘<code class=property>clip</code>’ property <a href="#CSS21"
rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a>
+ <li>the background properties <a href="#CSS21"
+ rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a> <a href="#CSS3BG"
+ rel=biblioentry>[CSS3BG]<!--{{!CSS3BG}}--></a>
+
+ <li>the border-image properties <a href="#CSS3BG"
+ rel=biblioentry>[CSS3BG]<!--{{!CSS3BG}}--></a>
+
<li>the offsets of the ‘<code
class=property>box-shadow</code>’ and ‘<code
class=property>text-shadow</code>’ properties
@@ -3228,6 +3226,16 @@
</dd>
<!---->
+ <dt id=CSS3BG>[CSS3BG]
+
+ <dd>Bert Bos; Elika J. Etemad; Brad Kemper. <a
+ href="http://www.w3.org/TR/2011/CR-css3-background-20110215"><cite>CSS
+ Backgrounds and Borders Module Level 3.</cite></a> 15 February 2011. W3C
+ Candidate Recommendation. (Work in progress.) URL: <a
+ href="http://www.w3.org/TR/2011/CR-css3-background-20110215">http://www.w3.org/TR/2011/CR-css3-background-20110215</a>
+ </dd>
+ <!---->
+
<dt id=CSS3COL>[CSS3COL]
<dd>Håkon Wium Lie. <a
Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-writing-modes/Overview.src.html,v
retrieving revision 1.129
retrieving revision 1.130
diff -u -d -r1.129 -r1.130
--- Overview.src.html 20 May 2011 06:38:23 -0000 1.129
+++ Overview.src.html 20 May 2011 06:58:41 -0000 1.130
@@ -1903,8 +1903,9 @@
and do not respond to changes in writing mode:
<ul>
- <li>all values of 'background-repeat'
<li>the ''rect()'' notation of the 'clip' property [[!CSS21]]
+ <li>the background properties [[!CSS21]] [[!CSS3BG]]
+ <li>the border-image properties [[!CSS3BG]]
<li>the offsets of the 'box-shadow' and 'text-shadow' properties
</ul>
Received on Friday, 20 May 2011 06:58:46 UTC