[webkit-changes] [WebKit/WebKit] fc43e9: [IFC] Move margin-trim check to canUseForStyle
Alan Baradlay
noreply at github.com
Sat Mar 25 11:34:24 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: fc43e983d02fc098ead348cfd6cd123c2657aa47
https://github.com/WebKit/WebKit/commit/fc43e983d02fc098ead348cfd6cd123c2657aa47
Author: Alan Baradlay <zalan at apple.com>
Date: 2023-03-25 (Sat, 25 Mar 2023)
Changed paths:
M Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp
M Source/WebCore/layout/integration/LayoutIntegrationCoverage.h
Log Message:
-----------
[IFC] Move margin-trim check to canUseForStyle
https://bugs.webkit.org/show_bug.cgi?id=254460
Reviewed by Antti Koivisto.
"margin-trim" check belongs to canUseForStyle (and not in isSupportedFloatingOrPositioned).
* Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp:
(WebCore::LayoutIntegration::canUseForStyle):
(WebCore::LayoutIntegration::canUseForChild):
* Source/WebCore/layout/integration/LayoutIntegrationCoverage.h:
Canonical link: https://commits.webkit.org/262114@main
More information about the webkit-changes
mailing list