| Summary: | [LFC][FFC] Add support for margin: auto | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | zalan <zalan> | ||||||
| Component: | Layout and Rendering | Assignee: | zalan <zalan> | ||||||
| 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 | ||||||||
| Attachments: |
|
||||||||
|
Description
zalan
2022-05-30 15:14:11 PDT
Created attachment 459875 [details]
Patch
Comment on attachment 459875 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=459875&action=review > Source/WebCore/layout/formattingContexts/flex/FlexFormattingContext.cpp:138 > + if (hasAutoMarginStart || hasAutoMarginEnd) > + autoMarginCount += hasAutoMarginStart && hasAutoMarginEnd ? 2 : 1; if (hasAutoMarginStart) ++autoMarginCount; if (hasAutoMarginEnd) ++autoMarginCount; would be easier to parse. Created attachment 459885 [details]
[fast-cq]Patch
Committed r295051 (251146@main): <https://commits.webkit.org/251146@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 459885 [details]. |