[webkit-changes] [WebKit/WebKit] 32c16b: [Cleanup] Decouple deprecated and regular flex box...

Alan Baradlay noreply at github.com
Wed Dec 25 19:06:03 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 32c16b8797fd23cfc729255cb1f400ed560e343a
      https://github.com/WebKit/WebKit/commit/32c16b8797fd23cfc729255cb1f400ed560e343a
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2024-12-25 (Wed, 25 Dec 2024)

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

  Log Message:
  -----------
  [Cleanup] Decouple deprecated and regular flex box logic in RenderBox::computeLogicalHeight
https://bugs.webkit.org/show_bug.cgi?id=285147

Reviewed by Antti Koivisto.

1. Move all deprecated flex box logic under 'usedHeight' lambda.
2. treatAsReplaced is now just is<RenderReplaced>(*this) for all the other types of boxes.

* Source/WebCore/rendering/RenderBox.cpp:
(WebCore::RenderBox::computeLogicalHeight const):

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