[webkit-changes] [WebKit/WebKit] 3a0e2f: [IFC][Intrinsic width] Decouple min/max computatio...

Alan Baradlay noreply at github.com
Wed Nov 29 14:57:25 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3a0e2fc3fd1593c48bbb88a2e4498fc7bb99d9c0
      https://github.com/WebKit/WebKit/commit/3a0e2fc3fd1593c48bbb88a2e4498fc7bb99d9c0
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M Source/WebCore/layout/formattingContexts/inline/InlineContentCache.h
    M Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp

  Log Message:
  -----------
  [IFC][Intrinsic width] Decouple min/max computation in InlineContentCache
https://bugs.webkit.org/show_bug.cgi?id=265522

Reviewed by Antti Koivisto.

This is in preparation for supporting individual min/max computations.

* Source/WebCore/layout/formattingContexts/inline/InlineContentCache.h:
(WebCore::Layout::InlineContentCache::setMinimumContentSize):
(WebCore::Layout::InlineContentCache::setMaximumContentSize):
(WebCore::Layout::InlineContentCache::minimumContentSize const):
(WebCore::Layout::InlineContentCache::maximumContentSize const):
(WebCore::Layout::InlineContentCache::resetMinimumMaximumContentSizes):
(WebCore::Layout::InlineContentCache::setIntrinsicWidthConstraints): Deleted.
(WebCore::Layout::InlineContentCache::resetIntrinsicWidthConstraints): Deleted.
(WebCore::Layout::InlineContentCache::intrinsicWidthConstraints const): Deleted.
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp:
(WebCore::Layout::InlineFormattingContext::computedIntrinsicSizes):
(WebCore::Layout::InlineFormattingContext::maximumContentSize):

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




More information about the webkit-changes mailing list