Summary: | REGRESSION(r244906): Crash in WebCore::positionOffsetValue | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Antti Koivisto <koivisto> | ||||||
Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | commit-queue, simon.fraser, zalan | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Antti Koivisto
2019-07-09 03:12:50 PDT
Created attachment 373708 [details]
patch
Comment on attachment 373708 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=373708&action=review > Source/WebCore/css/CSSComputedStyleDeclaration.cpp:794 > + auto& enclosingClippingBox = > + box.enclosingClippingBoxForStickyPosition(); why 2 lines. > Source/WebCore/rendering/RenderBoxModelObject.cpp:448 > + auto* clipLayer = layer()->enclosingOverflowClipLayer(ExcludeSelf); I guess if sticky does not produce a layer, we have bigger problems than this null deref. > why 2 lines. OOPS > I guess if sticky does not produce a layer, we have bigger problems than > this null deref. Yep. Created attachment 373718 [details]
patch
Comment on attachment 373718 [details] patch Clearing flags on attachment: 373718 Committed r247256: <https://trac.webkit.org/changeset/247256> All reviewed patches have been landed. Closing bug. Comment on attachment 373718 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=373718&action=review > LayoutTests/fast/css/getComputedStyle/sticky-scroll-container-crash.html:3 > + position: -webkit-sticky; No need to prefix any more. |