Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 97539eb515c4df033fe4d156c5d17d26a7eca37d
      
https://github.com/WebKit/WebKit/commit/97539eb515c4df033fe4d156c5d17d26a7eca37d
  Author: Alan Baradlay <za...@apple.com>
  Date:   2025-07-24 (Thu, 24 Jul 2025)

  Changed paths:
    M Source/WebCore/layout/integration/LayoutIntegrationBoxGeometryUpdater.cpp
    M Source/WebCore/rendering/RenderTheme.cpp

  Log Message:
  -----------
  [Cleanup] Move baseline logic from inlineBlockBaseline to baselineForBox
https://bugs.webkit.org/show_bug.cgi?id=295917

Reviewed by Antti Koivisto.

This patch also ensures that we add margin-before in a consistent way.

* Source/WebCore/layout/integration/LayoutIntegrationBoxGeometryUpdater.cpp:
(WebCore::LayoutIntegration::lastInflowBoxBaseline):
(WebCore::LayoutIntegration::baselineForBox):
(WebCore::LayoutIntegration::baselinePosition):
(WebCore::LayoutIntegration::inlineBlockBaseline): Deleted.
* Source/WebCore/rendering/RenderTheme.cpp:
(WebCore::RenderTheme::baselinePosition const):

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