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

[css3-text-layout][svg] writing-mode values across CSS and SVG

From: Sylvain Galineau <sylvaing@microsoft.com>
Date: Tue, 29 Jun 2010 14:21:51 +0000
To: "www-style@w3.org" <www-style@w3.org>
CC: Doug Schepers <doug@schepers.cc>, Patrick Dengler <patd@microsoft.com>, Kevin Babbitt <kbabbitt@microsoft.com>
Message-ID: <045A765940533D4CA4933A4A7E32597E214F88DD@TK5EX14MBXC120.redmond.corp.microsoft.com>
(Copying Doug as I am not sure whether this is a concern of the FXTF
or the SVG WG proper)

Currently, CSS3 Text Layout defines the writing-mode property as taking:

	lr-tb | rl-tb | tb-rl | bt-rl | tb-lr | bt-lr

In SVG1.1, Second Edition [2], writing-mode supports :

	lr-tb | rl-tb | tb-rl | lr | rl | tb | inherit

1) In addition to the inherit keyword, SVG adds shorthand values
for lr-tb (lr), rl-tb (rl) and tb-rl (tb). 

2) SVG also drops bt-rl, tb-lr and bt-lr. 

To make both authors and implementors lives easier - especially in mixed
documents - both WGs should harmonize the values this property supports.

At a minimum, I propose that the CSS3 definition of writing-mode:
	1. Include the inherit keyword
	2. Include the shorthand values defined by SVG i.e. lr, rl and tb.

I suspect SVG drops certain direction combinations due to the lack of 
known script for them but those may be useful for other purposes.


[1] http://dev.w3.org/csswg/css3-text-layout/#writing-mode
[2] http://dev.w3.org/SVG/profiles/1.1F2/publish/text.html#WritingModeProperty
Received on Tuesday, 29 June 2010 14:22:36 GMT

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