Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d477d76409f26ef0e7d3a7ec6e5e4cb35760d13b
      
https://github.com/WebKit/WebKit/commit/d477d76409f26ef0e7d3a7ec6e5e4cb35760d13b
  Author: Alan Baradlay <[email protected]>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M Source/WebCore/layout/formattingContexts/inline/InlineLine.cpp
    M 
Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp

  Log Message:
  -----------
  [IFC][Ruby] Fix centering when ruby base/annotation is nested inside inline 
box
https://bugs.webkit.org/show_bug.cgi?id=262738

Reviewed by Antti Koivisto.

Let's not assume base/annotation has only one run when there's zero expansion 
opportunity.
(e.g. <ruby><span></span><span>base content</span><rt>annotation</rt></ruby)

* LayoutTests/fast/ruby/rubyDOM-insert-text2.html:
* 
Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp:
(WebCore::Layout::RubyFormattingContext::applyRubyAlign):

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


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

Reply via email to