WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
44359
MakeTextWritingDirection* leaves extraneous spans
https://bugs.webkit.org/show_bug.cgi?id=44359
Summary
MakeTextWritingDirection* leaves extraneous spans
Ryosuke Niwa
Reported
2010-08-20 14:40:24 PDT
MakeTextWritingDirectionLeftToRight on <span dir="rtl">hello <span dir="ltr">world webkit rocks</span></span> Expected result: <span dir="rtl">hello <span dir="ltr">world</span></span><span style="unicode-bidi: embed;"> webkit</span><span dir="rtl"><span dir="ltr"> rocks</span></span> Actual result: <span dir="rtl">hello <span dir="ltr">world</span></span><span><span><span style="unicode-bidi: embed;"> webkit</span></span></span><span dir="rtl"><span dir="ltr"> rocks</span></span>
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2022-12-17 17:18:12 PST
@rniwa - Do we have test case for this by any chance or it is still an issue or not? Thanks!
Ryosuke Niwa
Comment 2
2022-12-17 22:04:02 PST
The test case is in the description. You need to run testRunner.execCommand('MakeTextWritingDirectionLeftToRight') on <span dir="rtl">hello <span dir="ltr">world webkit rocks</span></span>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug