[Webkit-unassigned] [Bug 52176] New: DOM position at the boundary of LTR/RTL text inside a RTL/LTR block is wrong

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 10 15:56:01 PST 2011


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

           Summary: DOM position at the boundary of LTR/RTL text inside a
                    RTL/LTR block is wrong
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: mitz at webkit.org, playmobil at google.com,
                    xji at chromium.org


In WebKit, the offset at the boundary of text follows the direction used by the surrounding text.

For example, abc (LTR) in a RTL block results in the offsets:
(3)a(1)b(2)c(0)
and CBA (RTL) in a LTR block results in the offsets:
(0)C(2)B(1)A(3)

But this is inconsistent with Firefox or MSIE both of which does:
(0)a(1)b(2)c(3)
(3)C(2)B(1)A(0)

-- 
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