Bug 250209 - Fix layoutOverflowRect in case of explicit 'overflow: scroll', but no overflow content
Summary: Fix layoutOverflowRect in case of explicit 'overflow: scroll', but no overflo...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-01-06 08:05 PST by Ahmad Saleem
Modified: 2023-01-13 08:06 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 2023-01-06 08:05:10 PST
Hi Team,

While going through Blink's commit, came across another which can be merged:

Blink Commit - https://src.chromium.org/viewvc/blink?revision=174808&view=revision

WebKit Source - https://github.com/WebKit/WebKit/blob/fa3e08712e3219aed72097238ae77493974a5092/Source/WebCore/rendering/LegacyLineLayout.cpp#L678, while we don't need other change, since it is already done here: https://github.com/WebKit/WebKit/blob/fa3e08712e3219aed72097238ae77493974a5092/Source/WebCore/rendering/RenderBox.cpp#L5061

if (style().shouldPlaceBlockDirectionScrollbarOnLeft())
    logicalLeft += verticalScrollbarWidth();

___

I just wanted to raise and get input before doing PR since this is in Legacy Line Layout rather than IFC, which might have already progressed this.

Thanks!
Comment 1 Radar WebKit Bug Importer 2023-01-13 08:06:16 PST
<rdar://problem/104224627>