WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
201355
[LFC] Pass FormattingContext to Geometry/Quirks/BlockMarginCollapsing classes
https://bugs.webkit.org/show_bug.cgi?id=201355
Summary
[LFC] Pass FormattingContext to Geometry/Quirks/BlockMarginCollapsing classes
alan baradlay
Reported
2019-08-30 14:10:33 PDT
Instead of the LayoutState. We'll use the formatting context to limit access to display boxes.
Attachments
Patch
(43.40 KB, patch)
2019-08-30 14:16 PDT
,
alan baradlay
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-08-30 14:10:56 PDT
<
rdar://problem/54895959
>
alan baradlay
Comment 2
2019-08-30 14:16:51 PDT
Created
attachment 377749
[details]
Patch
Antti Koivisto
Comment 3
2019-08-30 14:47:47 PDT
Comment on
attachment 377749
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=377749&action=review
> Source/WebCore/layout/FormattingContextQuirks.cpp:56 > + auto verticalMargin = Geometry(formattingContext()).computedVerticalMargin(*containingBlock, usedValues);
You could do formattingContext().geometry().computedVerticalMargin() here and elsewhere
WebKit Commit Bot
Comment 4
2019-08-30 15:45:56 PDT
Comment on
attachment 377749
[details]
Patch Clearing flags on attachment: 377749 Committed
r249349
: <
https://trac.webkit.org/changeset/249349
>
WebKit Commit Bot
Comment 5
2019-08-30 15:45:58 PDT
All reviewed patches have been landed. Closing bug.
alan baradlay
Comment 6
2019-08-30 16:12:16 PDT
(In reply to Antti Koivisto from
comment #3
)
> Comment on
attachment 377749
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=377749&action=review
> > > Source/WebCore/layout/FormattingContextQuirks.cpp:56 > > + auto verticalMargin = Geometry(formattingContext()).computedVerticalMargin(*containingBlock, usedValues); > > You could do > > formattingContext().geometry().computedVerticalMargin() > > here and elsewhere
That's indeed a good idea. Let me do it in a separate patch.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug