Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor TransformState preserve-3d checks into a shared location.
https://bugs.webkit.org/show_bug.cgi?id=248279 <rdar://problem/102632513> Reviewed by Simon Fraser. We're currently checking preserve-3d in lots of places in order to do point-mapping, this moves most of them into shared helpers in RenderObject. * Source/WebCore/rendering/RenderBox.cpp: (WebCore::RenderBox::mapLocalToContainer const): (WebCore::RenderBox::pushMappingToContainer const): * Source/WebCore/rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::mapAbsoluteToLocalPoint const): * Source/WebCore/rendering/RenderInline.cpp: (WebCore::RenderInline::mapLocalToContainer const): (WebCore::RenderInline::pushMappingToContainer const): * Source/WebCore/rendering/RenderLayerModelObject.cpp: (WebCore::RenderLayerModelObject::mapLocalToSVGContainer const): * Source/WebCore/rendering/RenderMultiColumnFlow.cpp: (WebCore::RenderMultiColumnFlow::mapAbsoluteToLocalPoint const): * Source/WebCore/rendering/RenderObject.cpp: (WebCore::RenderObject::pushOntoTransformState const): (WebCore::RenderObject::pushOntoGeometryMap const): (WebCore::RenderObject::offsetFromAncestorContainer const): * Source/WebCore/rendering/RenderObject.h: * Source/WebCore/rendering/svg/RenderSVGModelObject.cpp: (WebCore::RenderSVGModelObject::pushMappingToContainer const): (WebCore::RenderSVGModelObject::mapAbsoluteToLocalPoint const): Canonical link: https://commits.webkit.org/257093@main
- Loading branch information
1 parent
1f4c8ac
commit d081a7f
Showing
8 changed files
with
60 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters