[webkit-changes] [WebKit/WebKit] 04db62: text-align-last causes table to take full space

alan noreply at github.com
Wed Sep 21 07:04:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 04db6217eae000daca6e23f8df128c1ef105d5c1
      https://github.com/WebKit/WebKit/commit/04db6217eae000daca6e23f8df128c1ef105d5c1
  Author: Alan Bujtas <zalan at apple.com>
  Date:   2022-09-21 (Wed, 21 Sep 2022)

  Changed paths:
    A LayoutTests/fast/block/intrinsic-size-with-text-align-last-justify-expected.html
    A LayoutTests/fast/block/intrinsic-size-with-text-align-last-justify.html
    M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp

  Log Message:
  -----------
  text-align-last causes table to take full space
https://bugs.webkit.org/show_bug.cgi?id=245453
<rdar://problem/100199451>

Reviewed by Antti Koivisto.

Do not expand runs horizontally (justify align) when computing the preferred with of the block container. It produces inflated content size.

* LayoutTests/fast/block/intrinsic-size-with-text-align-last-justify-expected.html: Added.
* LayoutTests/fast/block/intrinsic-size-with-text-align-last-justify.html: Added.
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::close):

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




More information about the webkit-changes mailing list