Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0172fac96188adc3dd4f273b7c67842cd246a617
      
https://github.com/WebKit/WebKit/commit/0172fac96188adc3dd4f273b7c67842cd246a617
  Author: Alan Baradlay <[email protected]>
  Date:   2023-12-11 (Mon, 11 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/bopomofo.html
https://bugs.webkit.org/show_bug.cgi?id=266226

Reviewed by Antti Koivisto.

Ensure that the ruby base (end) is expanded by the width of the intercharacter 
annotation (which is placed at the right side of the base).

* 
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/271886@main


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

Reply via email to