[webkit-changes] [WebKit/WebKit] 126aea: [IFC][Ruby] Fix fast/ruby/ruby-empty-rt.html and f...

Alan Baradlay noreply at github.com
Tue Dec 12 06:47:50 PST 2023


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

  Changed paths:
    M Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp
    M Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp
    M Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.h

  Log Message:
  -----------
  [IFC][Ruby] Fix fast/ruby/ruby-empty-rt.html and fast/ruby/rubyDOM-remove-text2.html
https://bugs.webkit.org/show_bug.cgi?id=266261

Reviewed by Antti Koivisto.

Make room for the annotation content when base is completely empty.

* LayoutTests/fast/ruby/ruby-expansion-cjk-4.html:
* Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp:
(WebCore::Layout::InlineDisplayContentBuilder::adjustVisualGeometryForDisplayBox):
* Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp:
(WebCore::Layout::RubyFormattingContext::baseEndAdditionalVisualWidth):
* Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.h:

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




More information about the webkit-changes mailing list