[Webkit-unassigned] [Bug 74489] New: extra space rendered when opposite-dir span gets wrapped just before inline-block span
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Dec 14 00:46:53 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=74489
Summary: extra space rendered when opposite-dir span gets
wrapped just before inline-block span
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: aharon at google.com
CC: playmobil at google.com, xji at chromium.org,
aharon at google.com, rniwa at webkit.org,
leviw at chromium.org
Created an attachment (id=119174)
--> (https://bugs.webkit.org/attachment.cgi?id=119174&action=review)
test case (ref file coming as separate attachment)
When you have <div>ltr text <span dir="rtl">RTL TEXT</span></div>, and the opposite-direction span happens to get wrapped, only one space is supposed to be rendered between the last word of the ltr text and the part of the RTL TEXT that fits on the same line. And this works correctly, too. However, ifwe have:
<div>ltr text <span dir="rtl">RTL <span style="display:inline-block; width:10000px> </span></span></div>, two spaces are rendered after the last word of the ltr text.
Please note that the extra space does not reproduce if the inline-block span is replaced with lorem ipsum or a padded 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