- From: Binyamin Laukstein via GitHub <sysbot+gh@w3.org>
- Date: Wed, 13 Dec 2017 08:58:24 +0000
- To: public-css-archive@w3.org
`:dir(ltr | rtl)` doesn't auto detect text direction (if is LTR or RTL writing text) but would be the same as `[dir=ltr | rtl]` where direction default ltr. @js-choi I still don't understand why `dir=auto` in HTML is fine and `direction: auto` wouldn't be fine? Also why not to use `direction` in CSS, where it is defined by spec like to apply to `[dir=ltr] { direction: ltr; unicode-bidi: isolate; }` and `[dir=rtl] { direction: rtl; unicode-bidi: isolate; }`, and everyone follows this spec (in HTML), see https://drafts.csswg.org/css-writing-modes-3/#bidi-example -- GitHub Notification of comment by laukstein Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2091#issuecomment-351326013 using your GitHub account
Received on Wednesday, 13 December 2017 08:58:27 UTC