[webkit-changes] [WebKit/WebKit] 935af3: Faulty assert in RenderTreeBuilder::Ruby::findOrCr...

Antti Koivisto noreply at github.com
Mon May 27 08:03:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 935af36335b81e63a237452fa99fb95c08b52dc6
      https://github.com/WebKit/WebKit/commit/935af36335b81e63a237452fa99fb95c08b52dc6
  Author: Antti Koivisto <antti at apple.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    A LayoutTests/fast/ruby/ruby-block-anonymous-assert-expected.txt
    A LayoutTests/fast/ruby/ruby-block-anonymous-assert.html
    M Source/WebCore/rendering/updating/RenderTreeBuilderRuby.cpp

  Log Message:
  -----------
  Faulty assert in RenderTreeBuilder::Ruby::findOrCreateParentForStyleBasedRubyChild
https://bugs.webkit.org/show_bug.cgi?id=274751
rdar://128789974

Reviewed by Alan Baradlay.

<ruby blockified><ruby> hits asssert.

* LayoutTests/fast/ruby/ruby-block-anonymous-assert-expected.txt: Added.
* LayoutTests/fast/ruby/ruby-block-anonymous-assert.html: Added.
* Source/WebCore/rendering/updating/RenderTreeBuilderRuby.cpp:
(WebCore::RenderTreeBuilder::Ruby::findOrCreateParentForStyleBasedRubyChild):

Fix the assert. Ruby-block may have a non-anonymous <ruby> child.

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list