[Webkit-unassigned] [Bug 52128] ISO-8859-8 Hebrew text displayed reversed with dir="rtl"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 1 15:11:26 PST 2011


--- Comment #15 from mitz at webkit.org  2011-02-01 15:11:26 PST ---
(In reply to comment #12)

> > Using the non-trivial logic for modifying selection is a very indirect way to test this change. The best test for this would be a render tree dump. Those include the directionality (and override state) of individual text runs, which should suffice. If you can’t do that, then you can test directly for the visual position of characters using Range.getClientRects().
> You're right. Changed to use dumpRenderTree. I was thinking to make the expected result cross-platform.

For a cross-platform test, you can use getClientRects() and compare coordinates to determine whether one range (which can be a single character) is to the left or to the right of another.

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

More information about the webkit-unassigned mailing list