Re: [csswg-drafts] [css-ui] text-overflow: ellipsis when a word of different direction was truncated

Which part of the word, ABC or DEF, is truncated is relative and depends on base direction (and the reading direction).

With Firefox:

In RTL mode, Arabic "FEDCBA" will result in "...CBA".  The right reading for Arabic readers
The Latin "abcdef" will result in "...def".
Scrolling goes from right to left showing the rest of the text.

In LTR mode it is just the opposite behavior

Arabic "FEDCBA" will result in "FED ...". 
The Latin "abcdef" will result in "abc...". The right reading for Latin readers
Scrolling goes from left to right showing the rest of the text.

So, ellipsis is coherent with scrolling.

I expect this is the right thing to do.

Give it [a try here](https://www.w3schools.com/cssref/tryit.asp?filename=trycss3_text-overflow) with this text  "`abc def ابجد هوز`" and the style `text-overflow: ellipsis;`  and  `overflow: scroll;`  to see how the text is cut and scrolled.



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

Received on Monday, 8 January 2018 17:25:32 UTC