[webkit-changes] [WebKit/WebKit] 9a94be: [IFC][Intrinsic width] Disable preferred width com...

Alan Baradlay noreply at github.com
Wed Mar 20 16:58:41 PDT 2024


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

  Changed paths:
    A LayoutTests/fast/inline/replaced-element-with-percent-max-width-in-flexing-container-expected.html
    A LayoutTests/fast/inline/replaced-element-with-percent-max-width-in-flexing-container.html
    M Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp

  Log Message:
  -----------
  [IFC][Intrinsic width] Disable preferred width computation for replaced content with precent max-width
https://bugs.webkit.org/show_bug.cgi?id=271339
<rdar://125035862>

Reviewed by Simon Fraser.

Replaced content with precent max-width needs special preferred-width-computation handling.
Let's use legacy codepath for such such content for now.

* LayoutTests/fast/inline/replaced-element-with-percent-max-width-in-flexing-container-expected.html: Added.
* LayoutTests/fast/inline/replaced-element-with-percent-max-width-in-flexing-container.html: Added.
* Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp:
(WebCore::LayoutIntegration::canUseForPreferredWidthComputation):

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