Summary: | [LFC][BFC] Introduce VerticalMargin and HorizontalMargin types. | ||||||||
---|---|---|---|---|---|---|---|---|---|
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
2018-12-13 21:01:23 PST
Created attachment 357297 [details]
Patch
Created attachment 357300 [details]
Patch
Comment on attachment 357300 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=357300&action=review > Source/WebCore/layout/FormattingContext.h:100 > + static HorizontalMargin computedNonCollapsedHorizontalMarginValue(const LayoutState&, const Box&); > + static VerticalMargin::ComputedValues computedNonCollapsedVerticalMarginValue(const LayoutState&, const Box&); Maybe HorizontalMargin can be ComputedHorizontalMargin? (In reply to Antti Koivisto from comment #3) > Comment on attachment 357300 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=357300&action=review > > > Source/WebCore/layout/FormattingContext.h:100 > > + static HorizontalMargin computedNonCollapsedHorizontalMarginValue(const LayoutState&, const Box&); > > + static VerticalMargin::ComputedValues computedNonCollapsedVerticalMarginValue(const LayoutState&, const Box&); > > Maybe HorizontalMargin can be ComputedHorizontalMargin? Yeah, good idea. I've got a fixme on the non-computed horizontal margin value. Let me fix the together. Committed r239205: <https://trac.webkit.org/changeset/239205> |