Bug 246002
| Summary: | Fix calculation of SeenFixedContainingBlockLayer in RenderLayer::flagsForUpdateLayerPositions | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Frédéric Wang (:fredw) <fred.wang> |
| Component: | Scrolling | Assignee: | 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)
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Frédéric Wang (:fredw)
Pull request: https://github.com/WebKit/WebKit/pull/4964
EWS
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
<rdar://problem/100752757>