Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7edad1b0d5e5f2a83df09bac77283d6f12b39279
      
https://github.com/WebKit/WebKit/commit/7edad1b0d5e5f2a83df09bac77283d6f12b39279
  Author: Alan Baradlay <za...@apple.com>
  Date:   2024-04-11 (Thu, 11 Apr 2024)

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

  Log Message:
  -----------
  Remove RenderBlockFlow::markLinesDirtyInBlockRange
https://bugs.webkit.org/show_bug.cgi?id=272488

Reviewed by Simon Fraser.

This partial layout optimization (marking a range of lines dirty when float 
moves around) has not been implemented in IFC.
However calling invalidateLineLayoutPath() makes it even worse as we throw away 
all cached structures.

* Source/WebCore/rendering/FloatingObjects.cpp:
(WebCore::FloatingObjects::moveAllToFloatInfoMap): Deleted.
* Source/WebCore/rendering/FloatingObjects.h:
* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::rebuildFloatingObjectSetFromIntrudingFloats):
(WebCore::RenderBlockFlow::removeFloatingObject):
(WebCore::RenderBlockFlow::markLinesDirtyInBlockRange): Deleted. : only SVG 
uses legacy line layout but such content does not have to deal with intrusive 
floats.
* Source/WebCore/rendering/RenderBlockFlow.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to