[webkit-changes] [WebKit/WebKit] d57492: [IFC][Intrinsic width] Let's start using the dedic...

Alan Baradlay noreply at github.com
Sat Mar 16 12:31:26 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d57492190c83c95ed60057b327e2d1f1700021ed
      https://github.com/WebKit/WebKit/commit/d57492190c83c95ed60057b327e2d1f1700021ed
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2024-03-16 (Sat, 16 Mar 2024)

  Changed paths:
    M Source/WebCore/layout/integration/inline/LayoutIntegrationBoxGeometryUpdater.cpp
    M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp
    M Source/WebCore/rendering/RenderBlockFlow.cpp

  Log Message:
  -----------
  [IFC][Intrinsic width] Let's start using the dedicated BoxGeometryUpdater::setGeometriesForIntrinsicWidth
https://bugs.webkit.org/show_bug.cgi?id=271114

Reviewed by Antti Koivisto.

This is in preparation for using IFC's intrinsic width computation for inline level elements.

* Source/WebCore/layout/integration/inline/LayoutIntegrationBoxGeometryUpdater.cpp:
(WebCore::LayoutIntegration::logicalBorder): Drive-by fix as borderLeft().width() != borderLeftWidth() when border is not visible.

(WebCore::LayoutIntegration::BoxGeometryUpdater::setGeometriesForLayout):
(WebCore::LayoutIntegration::BoxGeometryUpdater::setGeometriesForIntrinsicWidth):
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::computeIntrinsicWidthConstraints):
* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::tryComputePreferredWidthsUsingModernPath):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list