[Webkit-unassigned] [Bug 25459] [Chromium] Regression(?): RTL texts wrapped by pre in contenteditable area with dir=rtl erroneously overflows
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Nov 2 17:09:21 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=25459
Xiaomei Ji <xji at chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #71462|0 |1
is obsolete| |
--- Comment #12 from Xiaomei Ji <xji at chromium.org> 2010-11-02 17:09:20 PST ---
Created an attachment (id=72773)
--> (https://bugs.webkit.org/attachment.cgi?id=72773&action=review)
test case
It is a webkit bug. Safari and Chromium in Mac overflows wrongly using the attached test case.
Dan is correct that it is the tabs in right-to-left overflow problem.
In the following line in RenderBlock::computeInlineDirectionPositionsForLine()
r->m_box->setLogicalWidth(rt->width(r->m_start, r->m_stop - r->m_start, totalLogicalWidth, firstLine, &fallbackFonts, &glyphOverflow) + hyphenWidth);
'totalLogicalWidth' is not the x-axis position for a BidiRun in RTL, base on which, the width of 'tab' is computed wrongly in WidthIterator::advance().
--
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