Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7d3d84c508b1eb04e26fa1bd3ebb6e191ccb64ab
      
https://github.com/WebKit/WebKit/commit/7d3d84c508b1eb04e26fa1bd3ebb6e191ccb64ab
  Author: Alan Baradlay <[email protected]>
  Date:   2026-09-10 (Thu, 10 Sep 2026)

  Changed paths:
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-display/display-on-svg-text-content-element-expected.html
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-display/display-on-svg-text-content-element-ref.html
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-display/display-on-svg-text-content-element.html
    M Source/WebCore/layout/integration/LayoutIntegrationBoxTreeUpdater.cpp
    M Source/WebCore/layout/layouttree/LayoutBox.cpp
    M Source/WebCore/layout/layouttree/LayoutBox.h
    M Source/WebCore/layout/layouttree/LayoutTreeBuilder.cpp

  Log Message:
  -----------
  [IFC] Stop adjusting the display value of inline boxes with a non-inline 
display
https://bugs.webkit.org/show_bug.cgi?id=323799
<rdar://problem/187046402>

Reviewed by Antti Koivisto.

This is in preparation for not adjusting computed style for layout boxes.

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-display/display-on-svg-text-content-element-expected.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-display/display-on-svg-text-content-element-ref.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-display/display-on-svg-text-content-element.html:
 Added.
* Source/WebCore/layout/integration/LayoutIntegrationBoxTreeUpdater.cpp:
(WebCore::LayoutIntegration::elementAttributes):
(WebCore::LayoutIntegration::BoxTreeUpdater::adjustStyleIfNeeded):
* Source/WebCore/layout/layouttree/LayoutBox.cpp:
(WebCore::Layout::Box::isBlockLevelBox const):
(WebCore::Layout::Box::isInlineLevelBox const):
(WebCore::Layout::Box::isInlineBox const):
(WebCore::Layout::Box::isBlockContainer const):
(WebCore::Layout::Box::isRubyAnnotationBox const):
(WebCore::Layout::Box::isInternalRubyBox const):
(WebCore::Layout::Box::isRubyBase const):
* Source/WebCore/layout/layouttree/LayoutBox.h:
* Source/WebCore/layout/layouttree/LayoutTreeBuilder.cpp:
(WebCore::Layout::TreeBuilder::createLayoutBox):

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



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

Reply via email to