[Webkit-unassigned] [Bug 23556] On RTL pages, horizontal scrollbar is missing
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Apr 22 00:10:39 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=23556
hbono at chromium.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #29675| |review?
Flag| |
------- Comment #6 from hbono at chromium.org 2009-04-22 00:10 PDT -------
Created an attachment (id=29675)
--> (https://bugs.webkit.org/attachment.cgi?id=29675&action=view)
A workaround fix
As far as I investigated on my MacBook, it is an edge-case problem caused by
discrepancy (sorry, I cannot figure out any better words) between FrameView and
RenderBlock.
FrameView trims the left side of its children when their offsetLeft is
negative. (It is an expected behavior.) On the other hand,
RenderBlock::determineHorizontalPosition may set a negative value to the
offsetLeft value of an RTL element wider than the window width. (It is also an
expected behavior.)
So, when FrameView has a child RTL element wider than the window width,
RenderBlock::determineHorizontalPosition set a negative value to the offsetLeft
value of the RTL element and FrameView trims its left side without displaying a
horizontal scrollbar.
Even Though I'm not confident this is a right fix, I wrote a workaround fix and
a layout test for this case.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list