[Webkit-unassigned] [Bug 47710] New: [RTL] ModifyWritingDirectionLeftToRight changes the direction of unselected text

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 14 19:55:58 PDT 2010


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

           Summary: [RTL] ModifyWritingDirectionLeftToRight changes the
                    direction of unselected text
           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


See http://trac.webkit.org/browser/trunk/LayoutTests/editing/style/script-tests/make-text-writing-direction-inline.js
modifyWritingDirection('<div dir="rtl">هنا <span dir="ltr">يكتب النص العربي</span></div>', selectThirdWord, 'LeftToRight',
'<div dir="rtl"><span style="direction: ltr;">هنا يكتب النص العربي</span></div>');

The expected result is wrong.  It supposed to be:
<div dir="rtl">هنا <span dir="ltr">يكتب النص العربي</span></div>
since "النص" is already in the LTR-embedded span.

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