[webkit-changes] [WebKit/WebKit] 07b19e: [IFC][Ruby] text-align: justify produces incorrect...

Alan Baradlay noreply at github.com
Sun Dec 17 09:30:58 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 07b19e4694820355008634c722db2eed0ddefe19
      https://github.com/WebKit/WebKit/commit/07b19e4694820355008634c722db2eed0ddefe19
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-12-17 (Sun, 17 Dec 2023)

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

  Log Message:
  -----------
  [IFC][Ruby] text-align: justify produces incorrect expansion opportunities when line has ruby content
https://bugs.webkit.org/show_bug.cgi?id=266500

Reviewed by Antti Koivisto.

We are not after expansion when skipping ruby content.
This mostly fixes all fast/ruby/ruby-expansion-cjk-*.html tests (unskip needs webkit.org/b/266543).

* LayoutTests/fast/ruby/ruby-expansion-cjk.html:
* Source/WebCore/layout/formattingContexts/inline/InlineContentAligner.cpp:
(WebCore::Layout::computedExpansions):
* Source/WebCore/layout/formattingContexts/inline/InlineContentAligner.h:

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




More information about the webkit-changes mailing list