Re: [csswg-drafts] [css-writing-modes] direction: auto

`: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