Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 629488f43b33d8bc6bf3de43012047c95ba02f64
      
https://github.com/WebKit/WebKit/commit/629488f43b33d8bc6bf3de43012047c95ba02f64
  Author: Simon Fraser <simon.fra...@apple.com>
  Date:   2024-04-10 (Wed, 10 Apr 2024)

  Changed paths:
    M Source/WebCore/rendering/RenderBox.cpp

  Log Message:
  -----------
  Minor optimizations in positioned layout
https://bugs.webkit.org/show_bug.cgi?id=272371
rdar://126113799

Reviewed by Alan Baradlay.

Avoid calling `isOrthogonal()` multiple times.

Use local copies of localLeft/Right/Top/Bottom, clarifying which get modified 
in the course
of the function.

* Source/WebCore/rendering/RenderBox.cpp:
(WebCore::computeBlockStaticDistance):
(WebCore::RenderBox::computePositionedLogicalWidthReplaced const):
(WebCore::RenderBox::computePositionedLogicalHeightReplaced const):

Canonical link: https://commits.webkit.org/277346@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