NEW 47710
[RTL] ModifyWritingDirectionLeftToRight changes the direction of unselected text
https://bugs.webkit.org/show_bug.cgi?id=47710
Summary [RTL] ModifyWritingDirectionLeftToRight changes the direction of unselected text
Ryosuke Niwa
Reported 2010-10-14 19:55:57 PDT
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.
Attachments
Note You need to log in before you can comment on or make changes to this bug.