Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ce71d60fdd1ccf805946edd107a5e94a3f7b00c0
      
https://github.com/WebKit/WebKit/commit/ce71d60fdd1ccf805946edd107a5e94a3f7b00c0
  Author: Alan Baradlay <[email protected]>
  Date:   2024-04-10 (Wed, 10 Apr 2024)

  Changed paths:
    M Source/WebCore/rendering/updating/RenderTreeBuilder.cpp
    M Source/WebCore/rendering/updating/RenderTreeBuilder.h
    M Source/WebCore/rendering/updating/RenderTreeBuilderBlock.cpp

  Log Message:
  -----------
  [RenderTreeBuilder] Cleanup 
RenderTreeBuilder::Block::attachIgnoringContinuation
https://bugs.webkit.org/show_bug.cgi?id=272433

Reviewed by Antti Koivisto.

1. Adjust before child (and parent) first
2. Handle out-of-flow/floating cases (v. simple as they don't need anonymous 
wrappers regardless of the type of siblings)
3. Handle matching case (inline/block child gets added to inline/block content)
4. Handle block child gets added to inline sibling
5. Handle inline child gets added to block sibling

* Source/WebCore/rendering/updating/RenderTreeBuilder.cpp:
(WebCore::RenderTreeBuilder::createAnonymousWrappersForInlineContent):
(WebCore::RenderTreeBuilder::makeChildrenNonInline): Deleted.
* Source/WebCore/rendering/updating/RenderTreeBuilder.h:
* Source/WebCore/rendering/updating/RenderTreeBuilderBlock.cpp:
(WebCore::findParentAndBeforeChildForNonSibling):
(WebCore::RenderTreeBuilder::Block::attachIgnoringContinuation):
(WebCore::RenderTreeBuilder::Block::childBecameNonInline):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to