Skip to content

Commit 35895e4

Browse files
committed
[css-writing-modes] DoC Issue 20. propagation of 'direction' from <body>
1 parent 411117c commit 35895e4

3 files changed

Lines changed: 52 additions & 52 deletions

File tree

css-writing-modes/Overview.bs

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -253,15 +253,6 @@ Specifying Directionality: the 'direction' property</h3>
253253
value is ''normal'', because the box does not open an additional level
254254
of embedding with respect to the bidirectional algorithm.</p>
255255

256-
<p>The value of the 'direction' property on the root element is also
257-
propagated to the initial containing block and, together with the
258-
'writing-mode' property, determines the document's principal writing
259-
mode. (See <a href="#principal-writing-mode">below</a>.)
260-
261-
<p class="note">Note that the 'direction' property of the HTML BODY
262-
element is <em>not</em> propagated to the viewport. That special
263-
behavior only applies to the background and overflow properties.
264-
265256
<p class="note">The 'direction'
266257
property, when specified for table column boxes, is not inherited by
267258
cells in the column since columns are not the ancestors of the cells in
@@ -896,20 +887,6 @@ Block Flow Direction: the 'writing-mode' property</h3>
896887
then its comptued <a>inner display type</a> becomes ''flow-root''. [[!CSS-DISPLAY-3]]
897888
</ul>
898889

899-
<p>The <dfn export id="principal-writing-mode">principal writing mode</dfn> of the
900-
document is determined by the 'writing-mode' and 'direction' values
901-
specified on the root element. This writing mode is used, for example,
902-
to determine the default page progression direction. (See [[CSS3PAGE]].)
903-
Like 'direction', the 'writing-mode' value of the root element is also
904-
propagated to the initial containing block and sets the block flow
905-
direction of the initial block formatting context.
906-
907-
<p class="note">Note that the 'writing-mode' property of the HTML BODY
908-
element is <em>not</em> propagated to the viewport. That special
909-
behavior only applies to the background and overflow properties.
910-
911-
<p class="issue">propagation of 'direction' from &lt;body&gt; <a href="https://readable-email.org/list/www-style/topic/re-css-writing-modes-css21-propagation-of-direction-from-body">www-style</a>
912-
913890
<h4 id="svg-writing-mode">
914891
SVG1.1 'writing-mode' Values</h4>
915892

@@ -2332,9 +2309,32 @@ Purely Physical Mappings</h3>
23322309
</ul>
23332310
-->
23342311

2335-
<h2 id="page-direction">
2312+
<h2 id="special-elements">
2313+
Initial Containing Block, Page, and Special Elements</h2>
2314+
2315+
<h3 id="propagate-to-icb">
2316+
Propagating to the Initial Containing Block</h3>
2317+
2318+
<p>The values of the 'direction' and the 'writing-mode' properties of the root element
2319+
are propagated to the initial containing block and sets the block flow
2320+
direction of the initial block formatting context.
2321+
2322+
<p>If the root element has body child elements [[!HTML5]],
2323+
user agents must propagate the computed values of
2324+
the 'writing-mode' and the 'direction' properties
2325+
from the first body child element
2326+
to the root element
2327+
before they are propagated to the initial containing block.
2328+
The propagated values are treated as if they were specified on the root element.
2329+
2330+
<h3 id="page-direction">
23362331
Page Flow: the page progression direction</h2>
23372332

2333+
<p>The <dfn export>principal writing mode</dfn> of the
2334+
document is determined by the 'writing-mode' and 'direction' values
2335+
specified on the root element. This writing mode is used, for example,
2336+
to determine the default page progression direction. (See [[CSS3PAGE]].)
2337+
23382338
<p>In paged media CSS2.1 classifies all pages as either left or right pages.
23392339
The page progression direction, which determines whether the left or right
23402340
page in a spread is first in the flow and whether the first page is by

css-writing-modes/issues-cr-2014.bs-issues

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ From: L. David Baron
163163
Comment: http://lists.w3.org/Archives/Public/www-style/2014Sep/0303.html
164164
Comment: http://lists.w3.org/Archives/Public/www-style/2015Mar/0393.html
165165
Comment: https://lists.w3.org/Archives/Public/www-style/2015Aug/0221.html
166-
Open: =WG= to investigate and decide on a better course of action
166+
Closed: Accepted
167167
----
168168
Issue 21.
169169
Summary: Underline in vertical text

0 commit comments

Comments
 (0)