W3C home > Mailing lists > Public > www-style@w3.org > October 2010

[css3-writing-modes] The principal writing mode

From: David Hyatt <hyatt@apple.com>
Date: Fri, 08 Oct 2010 10:58:23 -0500
Message-id: <95B161C4-973E-497F-AC21-9E3DD4880EA3@apple.com>
To: "www-style@w3.org list" <www-style@w3.org>
The current draft says the following:

"When set on the root element, the ‘writing-mode’ property together with the ‘direction’ property determines the principal writing mode of the document. This writing mode is used, for example, to determine the default page progression direction. See [CSS3PAGE]"

I think you need to explicitly mention that the root element's writing-mode is propagated to the initial containing block. This is already specified for 'direction' in CSS2.1 in section 10.1 (bullet point 1). 

Example:

<html style="writing-mode:vertical-rl;  width:100px; border:2px solid black">

You would expect the HTML element to be placed at the right side of the viewport, but that won't happen if the initial containing block is always horizontal-tb.

dave
(hyatt@apple.com)
Received on Friday, 8 October 2010 15:58:57 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:32 GMT