WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
123846
unicode-bidi: plaintext does not work properly when a line wraps
https://bugs.webkit.org/show_bug.cgi?id=123846
Summary
unicode-bidi: plaintext does not work properly when a line wraps
Ryosuke Niwa
Reported
2013-11-05 18:43:39 PST
Merge
https://chromium.googlesource.com/chromium/blink/+/d5088d76fcf75eaf23e30be43ebf119b2343dfed
unicode-bidi: plaintext never worked properly when there is a line wrapping in a span with unicode-bidi: plaintext. The problem happens because constructBidiRunsForSegment does not have enough logic to understand the difference between line wrapping vs line breaking, the current patch just adds the necessary logic(e.g when a text has a line wrapping it needs to determine the directionality of the paragraph from the beginning of the isolatedInline)
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2022-09-30 17:12:24 PDT
I took test case from the patch: Link (removed -webkit-) -
https://jsfiddle.net/q8m3o1tu/show
Link (not removed -webkit-) -
https://jsfiddle.net/t9r2s41n/1/show
All browsers (Chrome Canary 108, Firefox Nightly 107 and Safari 16) render all boxes same with the same direction of arrows and stuff (no wrapping problem). Do we need this anymore? Thanks!
zalan
Comment 2
2022-09-30 17:26:05 PDT
There's also a hidden IFC progression here.
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