[webkit-changes] [WebKit/WebKit] 77d7ad: [IFC][Ruby] Let's ignore unexpected content inside...

Alan Baradlay noreply at github.com
Sun Nov 5 06:07:37 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 77d7ad7252534ff9ae98d7c1f1871adb3e92b155
      https://github.com/WebKit/WebKit/commit/77d7ad7252534ff9ae98d7c1f1871adb3e92b155
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-11-05 (Sun, 05 Nov 2023)

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

  Log Message:
  -----------
  [IFC][Ruby] Let's ignore unexpected content inside ruby
https://bugs.webkit.org/show_bug.cgi?id=264193

Reviewed by Antti Koivisto.

ASSERT in debug, ignore in release when measuring and placing unexpected content inside ruby.

* Source/WebCore/layout/formattingContexts/inline/ruby/RubyFormattingContext.cpp:
(WebCore::Layout::RubyFormattingContext::placeRubyContent):
(WebCore::Layout::RubyFormattingContext::logicaWidthForRubyRange const):

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




More information about the webkit-changes mailing list