Bug 246002

Summary: Fix calculation of SeenFixedContainingBlockLayer in RenderLayer::flagsForUpdateLayerPositions
Product: WebKit Reporter: Frédéric Wang (:fredw) <fred.wang>
Component: ScrollingAssignee: Frédéric Wang (:fredw) <fred.wang>
Status: RESOLVED FIXED    
Severity: Normal CC: simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Frédéric Wang (:fredw)
Reported 2022-10-03 21:16:52 PDT
In https://commits.webkit.org/253809@main, both RenderLayer::recursiveUpdateLayerPositions and RenderLayer::flagsForUpdateLayerPositions check RenderElement::canContainFixedPositionObjects() to decide whether to add the SeenFixedContainingBlockLayer flag, but this function always render true for RenderView. RenderLayer::recursiveUpdateLayerPositions excludes that case while RenderLayer::flagsForUpdateLayerPositions does not, they should be made consistent.
Attachments
Frédéric Wang (:fredw)
Comment 1 2022-10-03 21:25:06 PDT
EWS
Comment 2 2022-10-04 01:29:36 PDT
Committed 255114@main (a945e2b05441): <https://commits.webkit.org/255114@main> Reviewed commits have been landed. Closing PR #4964 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2022-10-04 01:30:19 PDT
Note You need to log in before you can comment on or make changes to this bug.