[Webkit-unassigned] [Bug 258550] Determination of horizontal overflow incorrect when direction:rtl

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 26 23:15:12 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=258550

--- Comment #1 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
Following in RenderLayrScrollableArea.cpp:

int scrollableLeftOverflow = roundToInt((overflowLeft() - box->borderLeft()) - (box->style().shouldPlaceVerticalScrollbarOnLeft() ? box->verticalScrollbarWidth() : 0));

and following in RenderBox.cpp:

LayoutUnit left = borderLeft() + (style().shouldPlaceVerticalScrollbarOnLeft() ? verticalScrollbarWidth() : 0);

____

This compiles but I think 'RenderLayerScrollableArea.cpp' one is wrong since it has 'if' just below it, which might need tweaking.

-- 
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/20230627/bc1a1f4d/attachment.htm>


More information about the webkit-unassigned mailing list