[Webkit-unassigned] [Bug 25135] text-overflow:ellipsis doesn't correctly handle cases where a text run and inline box have different directionality

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 15 14:24:03 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25135





------- Comment #5 from playmobil at google.com  2009-04-15 14:24 PDT -------
Perhaps this makes more sense to me in the context of multiple directional
runs, so for example, let's look at two cases:

The simple case - the directionality of the div and the inline element are
identical:
<div class="test ellipsis" dir=LTR>
Hello World
</div>

This truncates to |Hello Wo...|

Now, let's add some RTL text on the end:
<div class="test ellipsis" dir=LTR>
Hello World OLLEH
</div>

There are basically 2 options for truncating this:

1. |Hello World OL...|
This is what the patch I've uploaded and IE do and seems like the right
behavior to me.

2. |Hello World ...EH|
Placing the ellipsis in the middle of the run rather than close to the box edge
seems wrong to me.

What do you think?


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list