- From: fantasai <fantasai.lists@inkedblade.net>
- Date: Wed, 21 Sep 2016 23:36:24 +0100
- To: www-international@w3.org
On 09/21/2016 06:28 PM, Lina Kemmel wrote: > https://drafts.csswg.org/css-writing-modes/#direction > > "2.1. Specifying Directionality: the direction property" section > only mentions "ltr" and "rtl" as the permissible values for the > "direction" property. > > This is not aligned with HTML5, which also tolerates "auto" > (for the "dir" attribute - > https://www.w3.org/TR/html5/dom.html#the-dir-attribute). > > Is there any rationale for that? Yes. "auto" is computed to either LTR or RTL at the HTML so that the result can be selected by the :dir() selectors. This was an explicit design decision when dir=auto was introduced. ~fantasai
Received on Wednesday, 21 September 2016 22:36:54 UTC