- From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 27 Apr 2011 20:49:49 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-writing-modes In directory hutz:/tmp/cvs-serv2541 Modified Files: Overview.html Overview.src.html Log Message: Fix broken anchors Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-writing-modes/Overview.html,v retrieving revision 1.97 retrieving revision 1.98 diff -u -d -r1.97 -r1.98 --- Overview.html 27 Apr 2011 20:39:13 -0000 1.97 +++ Overview.html 27 Apr 2011 20:49:47 -0000 1.98 @@ -482,16 +482,16 @@ class B</a>) paragraph break or block boundary. This sequence forms the <dfn id=paragraph>paragraph</dfn> unit in the bidirectional algorithm. - <p>Except when the ‘<code class=css>plaintext</code>’ value of - ‘<a href="#unicode-bidi0"><code - class=property>unicode-bidi</code></a>’ is in effect, the paragraph - embedding level is set according to the value of the ‘<a - href="#direction0"><code class=property>direction</code></a>’ - property of the paragraph's element rather than by the heuristic given in - steps P2 and P3 of the Unicode algorithm. The paragraph's element is - usually the containing block, but in the case of a paragraph contained by - bidi <a href="#isolate">isolation</a> it is the isolating inline element - instead. + <p>Except when the ‘<a href="#plaintext"><code + class=css>plaintext</code></a>’ value of ‘<a + href="#unicode-bidi0"><code class=property>unicode-bidi</code></a>’ + is in effect, the paragraph embedding level is set according to the value + of the ‘<a href="#direction0"><code + class=property>direction</code></a>’ property of the paragraph's + element rather than by the heuristic given in steps P2 and P3 of the + Unicode algorithm. The paragraph's element is usually the containing + block, but in the case of a paragraph contained by bidi <a + href="#isolate">isolation</a> it is the isolating inline element instead. <p>Because the base directionality of a text depends on the structure and semantics of the document, the ‘<a href="#direction0"><code @@ -572,11 +572,11 @@ <p>Values for this property have the following meanings: <dl> - <dt><strong>ltr</strong> + <dt><dfn id=ltr>ltr</dfn> <dd>Left-to-right directionality. - <dt><strong>rtl</strong> + <dt><dfn id=rtl>rtl</dfn> <dd>Right-to-left directionality. </dl> @@ -585,7 +585,8 @@ class=property>direction</code></a>’ property has no effect on bidi reordering when specified on inline elements whose ‘<a href="#unicode-bidi0"><code class=property>unicode-bidi</code></a>’ - property's value is ‘<code class=css>normal</code>’. + property's value is ‘<a href="#normal"><code + class=css>normal</code></a>’. <p>The value of the ‘<a href="#direction0"><code class=property>direction</code></a>’ property on the root element is @@ -658,13 +659,13 @@ <p>Values for this property have the following meanings: <dl> - <dt><strong>normal</strong> + <dt><dfn id=normal>normal</dfn> <dd>The element does not open an additional level of embedding with respect to the bidirectional algorithm. For inline elements, implicit reordering works across element boundaries. - <dt><strong>embed</strong> + <dt><dfn id=embed>embed</dfn> <dd>If the element is inline, this value opens an additional level of embedding with respect to the bidirectional algorithm. The direction of @@ -677,7 +678,7 @@ class=note>This value has no effect on elements that are not inline.</span> - <dt><strong>isolate</strong> + <dt><dfn id=isolate>isolate</dfn> <dd>For the purposes of the Unicode bidirectional algorithm, the contents of the element are considered to be inside a separate, independent @@ -687,7 +688,7 @@ lines, then each box of the element is treated as an Object Replacement Character.) - <dt><strong>plaintext</strong> + <dt><dfn id=plaintext>plaintext</dfn> <dd> <p>For the purposes of the Unicode bidirectional algorithm, the base @@ -697,7 +698,7 @@ usual, but by following rules P2 and P3 of the Unicode bidirectional algorithm. Note this value has no effect on inline elements. - <dt><strong>bidi-override</strong> + <dt><dfn id=bidi-override>bidi-override</dfn> <dd>For inline elements this creates an override. For block-container elements this creates an override for inline-level descendants not within @@ -727,8 +728,9 @@ inline</code>’ are treated as neutral characters, unless their ‘<a href="#unicode-bidi0"><code class=property>unicode-bidi</code></a>’ property has a value other - than ‘<code class=property>normal</code>’, in which case they - are treated as strong characters in the ‘<a href="#direction0"><code + than ‘<a href="#normal"><code + class=property>normal</code></a>’, in which case they are treated as + strong characters in the ‘<a href="#direction0"><code class=property>direction</code></a>’ specified for the element. All other atomic inline-level boxes are treated as neutral characters always. @@ -744,13 +746,13 @@ embedding, care should be taken not to use <span class=propinst-unicode-bidi>‘<a href="#unicode-bidi0"><code class=property>unicode-bidi</code></a>’</span> with a value other - than ‘<code class=property>normal</code>’ unless appropriate. - In particular, a value of ‘<code - class=property>inherit</code>’ should be used with extreme caution. - However, for elements that are, in general, intended to be displayed as - blocks, a setting of ‘<code class=css>unicode-bidi: - isolate</code>’ is preferred to keep the element together in case - display is changed to inline (see example below). + than ‘<a href="#normal"><code + class=property>normal</code></a>’ unless appropriate. In particular, + a value of ‘<code class=property>inherit</code>’ should be + used with extreme caution. However, for elements that are, in general, + intended to be displayed as blocks, a setting of ‘<code + class=css>unicode-bidi: isolate</code>’ is preferred to keep the + element together in case display is changed to inline (see example below). <p>The following example shows an XML document with bidirectional text. It illustrates an important design principle: document language designers @@ -803,10 +805,10 @@ <p>The EMPH element is inline-level, and since its value for <span class=propinst-unicode-bidi>‘<a href="#unicode-bidi0"><code - class=property>unicode-bidi</code></a>’</span> is ‘<code - class=property>normal</code>’ (the initial value), it has no effect - on the ordering of the text. The HE-QUO element, on the other hand, - creates an embedding.</p> + class=property>unicode-bidi</code></a>’</span> is ‘<a + href="#normal"><code class=property>normal</code></a>’ (the initial + value), it has no effect on the ordering of the text. The HE-QUO element, + on the other hand, creates an embedding.</p> <p>The formatting of this text might look like this if the line length is long:</p> @@ -865,19 +867,20 @@ logical order). <p>When the element's ‘<a href="#direction0"><code - class=property>direction</code></a>’ property is ‘<code - class=css>ltr</code>’, the left-most generated box of the first line - box in which the element appears has the left margin, left border and left - padding, and the right-most generated box of the last line box in which - the element appears has the right padding, right border and right margin. + class=property>direction</code></a>’ property is ‘<a + href="#ltr"><code class=css>ltr</code></a>’, the left-most generated + box of the first line box in which the element appears has the left + margin, left border and left padding, and the right-most generated box of + the last line box in which the element appears has the right padding, + right border and right margin. <p>When the element's ‘<a href="#direction0"><code - class=property>direction</code></a>’ property is ‘<code - class=css>rtl</code>’, the right-most generated box of the first - line box in which the element appears has the right padding, right border - and right margin, and the left-most generated box of the last line box in - which the element appears has the left margin, left border and left - padding. + class=property>direction</code></a>’ property is ‘<a + href="#rtl"><code class=css>rtl</code></a>’, the right-most + generated box of the first line box in which the element appears has the + right padding, right border and right margin, and the left-most generated + box of the last line box in which the element appears has the left margin, + left border and left padding. <h2 id=vertical-intro><span class=secno>3. </span> Introduction to Vertical Text</h2> @@ -1008,15 +1011,15 @@ <p>This property sets the block flow direction. Possible values: <dl> - <dt>horizontal-tb + <dt><dfn id=horizontal-tb>horizontal-tb</dfn> <dd>Top-to-bottom block flow. The writing mode is horizontal. - <dt>vertical-rl + <dt><dfn id=vertical-rl>vertical-rl</dfn> <dd>Right-to-left block flow. The writing mode is vertical. - <dt>vertical-lr + <dt><dfn id=vertical-lr>vertical-lr</dfn> <dd>Left-to-right block flow. The writing mode is vertical. </dl> @@ -1515,8 +1518,8 @@ <p>For the purposes of bidi reordering, this value causes all characters to be treated as strong LTR. This value causes the used value of ‘<a href="#direction0"><code - class=property>direction</code></a>’ to be ‘<code - class=css>ltr</code>’. + class=property>direction</code></a>’ to be ‘<a + href="#ltr"><code class=css>ltr</code></a>’. <p>In vertical writing modes, this value puts the element in a <i>vertical typographic mode</i>. @@ -1539,8 +1542,9 @@ <p>If set on a non-replaced inline whose parent is not ‘<a href="#rotate-left"><code class=css>rotate-left</code></a>’, this - forces ‘<code class=css>isolate</code>’ to be added to the - computed value of ‘<a href="#unicode-bidi0"><code + forces ‘<a href="#isolate"><code + class=css>isolate</code></a>’ to be added to the computed value of + ‘<a href="#unicode-bidi0"><code class=property>unicode-bidi</code></a>’. Layout of text is exactly as for ‘<a href="#rotate-right"><code class=css>rotate-right</code></a>’ except that the text content @@ -1562,13 +1566,13 @@ <dd> <p>This value is equivalent to ‘<a href="#rotate-right"><code - class=css>rotate-right</code></a>’ in ‘<code - class=css>vertical-rl</code>’ writing mode and equivalent to - ‘<a href="#rotate-left"><code - class=css>rotate-left</code></a>’ in ‘<code - class=css>vertical-lr</code>’ writing mode. It can be useful when - setting horizontal script text vertically in a primarily horizontal-only - document. + class=css>rotate-right</code></a>’ in ‘<a + href="#vertical-rl"><code class=css>vertical-rl</code></a>’ + writing mode and equivalent to ‘<a href="#rotate-left"><code + class=css>rotate-left</code></a>’ in ‘<a + href="#vertical-lr"><code class=css>vertical-lr</code></a>’ + writing mode. It can be useful when setting horizontal script text + vertically in a primarily horizontal-only document. <dt><dfn id=auto>auto</dfn> @@ -1608,8 +1612,9 @@ class=css>rotate-normal</code></a>’. In the rest of the document, the author can just set ‘<a href="#writing-mode1"><code class=property>writing-mode</code></a>’ without worrying about - whether the text is ‘<code class=css>vertical-rl</code>’ or - ‘<code class=css>vertical-lr</code>’. + whether the text is ‘<a href="#vertical-rl"><code + class=css>vertical-rl</code></a>’ or ‘<a + href="#vertical-lr"><code class=css>vertical-lr</code></a>’. <pre> :root { text-orientation: rotate-normal; } @@ -1676,9 +1681,10 @@ <p><a href="#CSS21" rel=biblioentry>[CSS21]<!--{{!CSS21}}--></a> defines the box layout model of CSS in detail. However, it only defines the box - model for the ‘<code class=css>horizontal-tb</code>’ writing - mode. CSS box layout in writing modes other than ‘<code - class=css>horizontal-tb</code>’ is analogous to the box layout + model for the ‘<a href="#horizontal-tb"><code + class=css>horizontal-tb</code></a>’ writing mode. CSS box layout in + writing modes other than ‘<a href="#horizontal-tb"><code + class=css>horizontal-tb</code></a>’ is analogous to the box layout defined in CSS2.1 if directions and dimensions are abstracted and remapped appropriately. This section defines abstract directional and dimensional terms and their mappings in order to define box layout for other writing @@ -1819,9 +1825,9 @@ <p>The <dfn id=flow-relative-directions>flow-relative directions</dfn> are <a href="#before">before</a>, <a href="#after">after</a>, <a href="#start">start</a>, and <a href="#end">end</a>. In an <abbr - title=left-to-right>LTR</abbr> ‘<code - class=css>horizontal-tb</code>’ writing mode, they correspond to the - top, bottom, left, and right directions, respectively. + title=left-to-right>LTR</abbr> ‘<a href="#horizontal-tb"><code + class=css>horizontal-tb</code></a>’ writing mode, they correspond to + the top, bottom, left, and right directions, respectively. <p>The <dfn id=before>before</dfn> edge of a box is nominally the edge that comes earlier in the block progression, as determined by the ‘<a @@ -1832,12 +1838,12 @@ <p>The <dfn id=start>start</dfn> edge of a box is nominally the edge from which text of its inline base direction will start. For boxes with a used ‘<a href="#direction0"><code - class=property>direction</code></a>’ value of ‘<code - class=css>ltr</code>’, this means the <a + class=property>direction</code></a>’ value of ‘<a + href="#ltr"><code class=css>ltr</code></a>’, this means the <a href="#line-left"><i>line-left</i></a> edge. For boxes with a used ‘<a href="#direction0"><code - class=property>direction</code></a>’ value of ‘<code - class=css>rtl</code>’, this means the <a + class=property>direction</code></a>’ value of ‘<a + href="#rtl"><code class=css>rtl</code></a>’, this means the <a href="#line-right"><i>line-right</i></a> edge. The edge opposite the start edge is the <dfn id=end>end</dfn> edge. @@ -1906,11 +1912,14 @@ <th scope=row>‘<a href="#writing-mode1"><code class=property>writing-mode</code></a>’ - <th colspan=2>‘<code class=css>horizontal-tb</code>’ + <th colspan=2>‘<a href="#horizontal-tb"><code + class=css>horizontal-tb</code></a>’ - <th colspan=4>‘<code class=css>vertical-rl</code>’ + <th colspan=4>‘<a href="#vertical-rl"><code + class=css>vertical-rl</code></a>’ - <th colspan=4>‘<code class=css>vertical-lr</code>’ + <th colspan=4>‘<a href="#vertical-lr"><code + class=css>vertical-lr</code></a>’ <tr> <th scope=row>‘<a href="#text-orientation0"><code @@ -1934,25 +1943,25 @@ <th scope=row>‘<a href="#direction0"><code class=property>direction</code></a>’ - <th>‘<code class=css>ltr</code>’ + <th>‘<a href="#ltr"><code class=css>ltr</code></a>’ - <th>‘<code class=css>rtl</code>’ + <th>‘<a href="#rtl"><code class=css>rtl</code></a>’ - <th>‘<code class=css>ltr</code>’ + <th>‘<a href="#ltr"><code class=css>ltr</code></a>’ - <th>‘<code class=css>rtl</code>’ + <th>‘<a href="#rtl"><code class=css>rtl</code></a>’ - <th>‘<code class=css>ltr</code>’ + <th>‘<a href="#ltr"><code class=css>ltr</code></a>’ - <th>‘<code class=css>rtl</code>’ + <th>‘<a href="#rtl"><code class=css>rtl</code></a>’ - <th>‘<code class=css>ltr</code>’ + <th>‘<a href="#ltr"><code class=css>ltr</code></a>’ - <th>‘<code class=css>rtl</code>’ + <th>‘<a href="#rtl"><code class=css>rtl</code></a>’ - <th>‘<code class=css>ltr</code>’ + <th>‘<a href="#ltr"><code class=css>ltr</code></a>’ - <th>‘<code class=css>rtl</code>’ + <th>‘<a href="#rtl"><code class=css>rtl</code></a>’ <tbody> <tr> @@ -2118,8 +2127,9 @@ change: only which values are inputs to which layout calculations changes. The ‘<code class=property>margin-left</code>’ property still affects the lefthand margin, for example; however in a - ‘<code class=css>vertical-rl</code>’ writing mode it takes - part in margin collapsing in place of ‘<code + ‘<a href="#vertical-rl"><code + class=css>vertical-rl</code></a>’ writing mode it takes part in + margin collapsing in place of ‘<code class=property>margin-bottom</code>’.</p> <li> @@ -2215,12 +2225,14 @@ <ul> <li>The two writing modes are parallel to each other. (For example, - ‘<code class=css>vertical-rl</code>’ and ‘<code - class=css>vertical-lr</code>’). + ‘<a href="#vertical-rl"><code + class=css>vertical-rl</code></a>’ and ‘<a + href="#vertical-lr"><code class=css>vertical-lr</code></a>’). <li>The two writing modes are perpendicular to each other. (For example, - ‘<code class=css>horizontal-tb</code>’ and ‘<code - class=css>vertical-rl</code>’). + ‘<a href="#horizontal-tb"><code + class=css>horizontal-tb</code></a>’ and ‘<a + href="#vertical-rl"><code class=css>vertical-rl</code></a>’). </ul> <p>To handle the second case, for the purposes of calculating the layout of @@ -2394,9 +2406,10 @@ <p>The <dfn id=line-relative-directions>line-relative directions</dfn> are <a href="#over">over</a>, <a href="#under">under</a>, <a href="#line-left">line-left</a>, and <a href="#line-right">line-right</a>. - In an <abbr title=left-to-right>LTR</abbr> ‘<code - class=css>horizontal-tb</code>’ writing mode, they correspond to the - top, bottom, left, and right directions, respectively. + In an <abbr title=left-to-right>LTR</abbr> ‘<a + href="#horizontal-tb"><code class=css>horizontal-tb</code></a>’ + writing mode, they correspond to the top, bottom, left, and right + directions, respectively. <p>The line-right and line-left directions are calculated with respect to the writing mode of the element and used to interpret the ‘<a @@ -2471,7 +2484,8 @@ href="#before"><code class=css>before</code></a>’ and ‘<a href="#after"><code class=css>after</code></a>’, which position the caption before and after the table box, respectively. For tables with - ‘<code class=css>horizontal-tb</code>’ writing mode, they are + ‘<a href="#horizontal-tb"><code + class=css>horizontal-tb</code></a>’ writing mode, they are equivalent to the existing ‘<a href="#top"><code class=css>top</code></a>’ and ‘<a href="#bottom"><code class=css>bottom</code></a>’ values, respectively. <a href="#CSS21" Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-writing-modes/Overview.src.html,v retrieving revision 1.101 retrieving revision 1.102 diff -u -d -r1.101 -r1.102 --- Overview.src.html 27 Apr 2011 20:39:13 -0000 1.101 +++ Overview.src.html 27 Apr 2011 20:49:47 -0000 1.102 @@ -306,9 +306,9 @@ <p>Values for this property have the following meanings:</p> <dl> - <dt><strong>ltr</strong></dt> + <dt><dfn>ltr</dfn></dt> <dd>Left-to-right directionality.</dd> - <dt><strong>rtl</strong></dt> + <dt><dfn>rtl</dfn></dt> <dd>Right-to-left directionality.</dd> </dl> @@ -373,11 +373,11 @@ <p>Values for this property have the following meanings:</p> <dl> - <dt><strong>normal</strong></dt> + <dt><dfn>normal</dfn></dt> <dd>The element does not open an additional level of embedding with respect to the bidirectional algorithm. For inline elements, implicit reordering works across element boundaries.</dd> - <dt><strong>embed</strong></dt> + <dt><dfn>embed</dfn></dt> <dd>If the element is inline, this value opens an additional level of embedding with respect to the bidirectional algorithm. The direction of this embedding level is given by the 'direction' @@ -387,7 +387,7 @@ (U+202C) at the end of the element. <span class="note">This value has no effect on elements that are not inline.</span></dd> - <dt><strong>isolate</strong></dt> + <dt><dfn>isolate</dfn></dt> <dd>For the purposes of the Unicode bidirectional algorithm, the contents of the element are considered to be inside a separate, independent paragraph, and for the purpose of bidi resolution @@ -395,14 +395,14 @@ treated as if it were an Object Replacement Character (U+FFFC). (If the element is broken across multiple lines, then each box of the element is treated as an Object Replacement Character.)</dd> - <dt><strong>plaintext</strong></dt> + <dt><dfn>plaintext</dfn></dt> <dd><p>For the purposes of the Unicode bidirectional algorithm, the base directionality of each bidi paragraph for which the element forms the containing block is determined not by the element's computed 'direction' as usual, but by following rules P2 and P3 of the Unicode bidirectional algorithm. Note this value has no effect on inline elements. - <dt><strong>bidi-override</strong></dt> + <dt><dfn>bidi-override</dfn></dt> <dd>For inline elements this creates an override. For block-container elements this creates an override for inline-level descendants not within another block container element. This means that inside the @@ -691,11 +691,11 @@ <p>This property sets the block flow direction. Possible values:</p> <dl> - <dt>horizontal-tb</dt> + <dt><dfn>horizontal-tb</dfn></dt> <dd>Top-to-bottom block flow. The writing mode is horizontal.</dd> - <dt>vertical-rl</dt> + <dt><dfn>vertical-rl</dfn></dt> <dd>Right-to-left block flow. The writing mode is vertical.</dd> - <dt>vertical-lr</dt> + <dt><dfn>vertical-lr</dfn></dt> <dd>Left-to-right block flow. The writing mode is vertical.</dd> </dl>
Received on Wednesday, 27 April 2011 20:49:51 UTC