Summary: | [LFC Display] Fix box locations for positioned elements | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> | ||||||
Component: | Layout and Rendering | Assignee: | Simon Fraser (smfr) <simon.fraser> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | bfulgham, koivisto, simon.fraser, webkit-bug-importer, zalan | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=219322 | ||||||||
Attachments: |
|
Description
Simon Fraser (smfr)
2020-11-27 10:20:22 PST
Created attachment 414953 [details]
Patch
Created attachment 414960 [details]
Patch
Comment on attachment 414960 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=414960&action=review > Source/WebCore/layout/layouttree/LayoutBox.h:233 > + return isInitialContainingBlock() || isPositioned() || style().hasTransform(); I'd change it to return isPositioned() || isContainingBlockForFixedPosition(); -which makes it quite clear that fixed positioning is a type of out-of-flow. |