Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 126aeaf84025653d7c64a4035d5bf8a3ddb598ba
      
https://github.com/WebKit/WebKit/commit/126aeaf84025653d7c64a4035d5bf8a3ddb598ba
  Author: Alan Baradlay <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to