On Thursday 2015-11-05 20:53 -0600, Jim Porter wrote:
> Second, ellipses. How do I ensure that the ellipsis is on the correct
> side of the text? Again, if we have LTR text like "Long name here" in an
> RTL environment, it usually ends up looking like "...Long name", which
> is backwards.

Is this an ellipsis from 'text-overflow: ellipsis'?
https://drafts.csswg.org/css-ui/#text-overflow says that the
ellipsis side is determined from directionality, which makes me
think that putting the dir="auto" attribute on the element with the
'text-overflow: ellipsis' would help.  (Then again, that would also
affect alignment, which might be undesirable.)

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                          https://www.mozilla.org/   𝄂
             Before I built a wall I'd ask to know
             What I was walling in or walling out,
             And to whom I was like to give offense.
               - Robert Frost, Mending Wall (1914)

Attachment: signature.asc
Description: Digital signature

_______________________________________________
dev-fxos mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-fxos

Reply via email to