[webkit-changes] [WebKit/WebKit] 36e87a: [IFC] Unexpected content wrapping when percent pad...

Alan Baradlay noreply at github.com
Sat Apr 29 12:54:57 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 36e87a1fba92223b5289008516037523be409fba
      https://github.com/WebKit/WebKit/commit/36e87a1fba92223b5289008516037523be409fba
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-04-29 (Sat, 29 Apr 2023)

  Changed paths:
    A LayoutTests/fast/inline/inline-block-with-precent-padding-expected.html
    A LayoutTests/fast/inline/inline-block-with-precent-padding.html
    M LayoutTests/platform/mac/fast/forms/basic-buttons-expected.txt
    M Source/WebCore/rendering/RenderBlockFlow.cpp

  Log Message:
  -----------
  [IFC] Unexpected content wrapping when percent padding is present
https://bugs.webkit.org/show_bug.cgi?id=256131
rdar://108666239

Reviewed by Antti Koivisto.

Apparently this is how the rest of the render tree code deals with percent padding (see updateBlockChildDirtyBitsBeforeLayout, layoutLineBoxes etc).

* LayoutTests/fast/inline/inline-block-with-precent-padding-expected.html: Added.
* LayoutTests/fast/inline/inline-block-with-precent-padding.html: Added.
* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::layoutModernLines):

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




More information about the webkit-changes mailing list