[Webkit-unassigned] [Bug 221833] New: <img> isn't able to render RTL text correctly
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 12 11:28:35 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=221833
Bug ID: 221833
Summary: <img> isn't able to render RTL text correctly
Product: WebKit
Version: Safari 14
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ebrahim at gnu.org
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
Open
data:text/html;charset=utf-8,The following two lines should have exact same text,<br>یاexampleیا<br><img alt="یاexampleیا" src="about:blank" width=200 height=200>
Compare the two lines with other browser.
Actual:
RTL text is rendered incorrectly thus the two lines differs
Expected:
They should be same, just like the other browsers.
Actually I've filed this in 2013 in Chromium https://crbug.com/326921 and now am seeing it again in Safari. That file contains three patches and it turned out the fix for this is just to use drawBidiText instead drawText which I submit a patch with it also.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210212/0bc476bf/attachment-0001.htm>
More information about the webkit-unassigned
mailing list