W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2017

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

From: Koji Ishii via GitHub <sysbot+gh@w3.org>
Date: Thu, 21 Dec 2017 18:48:47 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-283971517-1513882126-sysbot+gh@w3.org>
kojiishi has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-ui] text-overflow: ellipsis when a word of different direction was truncated ==
When the overflowing word is in different direction from the paragraph direction, which part of the word should be truncated?

For example, if a paragraph in the logical order (uppercase means RTL characters):

> abcdef ABCDEF

which is laid out this way:

> abcdef FEDCBA

and if the last 3 characters overflows, should "FED" be visible, or "CBA"?

[Test@jsbin](http://jsbin.com/vifuvap/edit?html,output)

Blink/Gecko shows "FED..." while Edge/WebKit shows "CBA...". Blink w/LayoutNG currently matches to Edge/WebKit.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2125 using your GitHub account
Received on Thursday, 21 December 2017 18:48:51 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:21 UTC