Bug 258853

Summary: Width and height computations for RenderLayerScrollableArea::computeScrollDimensions() could be simplified.
Product: WebKit Reporter: Ethan Wong <bunnnywong>
Component: CompositingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Minor CC: simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 16   
Hardware: All   
OS: All   

Ethan Wong
Reported 2023-07-04 08:11:20 PDT
`RenderLayerScrollableArea::computeScrollDimensions()` computes its dimensions by subtracting the edges of the layer’s renderBox. This could be equivalently done by directly accessing the width and height of that renderBox.
Attachments
Ethan Wong
Comment 1 2023-07-04 08:12:46 PDT
EWS
Comment 2 2023-07-06 09:14:40 PDT
Committed 265805@main (e6a64b6cddd8): <https://commits.webkit.org/265805@main> Reviewed commits have been landed. Closing PR #15542 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2023-07-06 09:15:18 PDT
Note You need to log in before you can comment on or make changes to this bug.