Re: [csswg-drafts] [css-writing-modes] `unicode-bidi: plaintext` not affect ul/ol (#3491)

Thanks for your help.

Yes I know it's better to use html `dir` because browsers can disable CSS.

Sometimes we are sure client are not disabled CSS, so we have no problem using it. When we sure clients enabled CSS and when we have used RLM and LRM characters to set direction, I think it is not good idea to repeat `dir=auto` many times, and would be better to set elements direction to auto using CSS. But this feature not exists this in CSS.

One good example is when we convert markdown to html using it's tools. Most of them not add `dir=auto` into html export. So we should do one of these options:

1. Add `dir` to all elements manually. I don't like this.
2. Write a javascript to add `dir=auto` into elements.
3. Use CSS to set direction automatically, but CSS can't. 😔

-- 
GitHub Notification of comment by ali-hardan
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3491#issuecomment-454315676 using your GitHub account

Received on Tuesday, 15 January 2019 09:01:30 UTC