- From: fantasai <fantasai.lists@inkedblade.net>
- Date: Thu, 22 Sep 2016 17:18:08 +0100
- To: Lina Kemmel <LKEMMEL@il.ibm.com>
- Cc: www-international@w3.org
On 09/22/2016 04:24 PM, Lina Kemmel wrote: > > According to https://drafts.csswg.org/selectors-4/#the-dir-pseudo, > > "... [HTML5] defines how to determine the directionality of an element, > based on a combination of the dir attribute, the surrounding text, and > other factors. The :dir() pseudo-class does not select based on > stylistic states—for example, *the CSS direction property does not* > affect whether it matches." > > Doesn't this mean that :dir(rtl) won't even look at {direction: xxx;} > ignoring all of the { direction: ltr; }, { direction: rtl; }, or > [the non-existing] { direction: auto; } equally? Yes, exactly. >> As the spec says, 'direction' should never have been part of CSS. >> It is not a replacement for having a markup-based 'dir' attribute. > > Sure, but it is still part of CSS and is not marked as deprecated / > obsolete explicitly. It is, however, marked very explicitly as "You shouldn't use this unless you're a UA." ~fantasai
Received on Thursday, 22 September 2016 16:18:46 UTC