Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5e4a6f09f5f94236200aee53d376984ed905e897
      
https://github.com/WebKit/WebKit/commit/5e4a6f09f5f94236200aee53d376984ed905e897
  Author: Antti Koivisto <[email protected]>
  Date:   2023-03-03 (Fri, 03 Mar 2023)

  Changed paths:
    M Source/WebCore/rendering/RenderBlockFlow.cpp
    M Source/WebCore/rendering/shapes/ShapeOutsideInfo.cpp
    M Source/WebCore/rendering/shapes/ShapeOutsideInfo.h

  Log Message:
  -----------
  Factor Shape computation into a standalone function
https://bugs.webkit.org/show_bug.cgi?id=253313
rdar://106194842

Reviewed by Alan Baradlay.

This will help in supporting shape-outside in LFC.

* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::positionNewFloats):
* Source/WebCore/rendering/shapes/ShapeOutsideInfo.cpp:
(WebCore::referenceBox):
(WebCore::computeLogicalBoxSize):
(WebCore::ShapeOutsideInfo::invalidateForSizeChangeIfNeeded):
(WebCore::makeShapeForShapeOutside):
(WebCore::checkShapeImageOrigin):
(WebCore::ShapeOutsideInfo::computedShape const):
(WebCore::ShapeOutsideInfo::setReferenceBoxLogicalSize): Deleted.
(WebCore::ShapeOutsideInfo::createShapeForImage const): Deleted.
* Source/WebCore/rendering/shapes/ShapeOutsideInfo.h:

Canonical link: https://commits.webkit.org/261169@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to