[webkit-changes] [WebKit/WebKit] 2f3392: [IFC][Invalidation] Content inside SVG should not ...

Alan Baradlay noreply at github.com
Thu Sep 7 09:37:44 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2f339259fbc5921f944a5932a65e28e42c2e3acd
      https://github.com/WebKit/WebKit/commit/2f339259fbc5921f944a5932a65e28e42c2e3acd
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-09-07 (Thu, 07 Sep 2023)

  Changed paths:
    A LayoutTests/fast/inline/invalidation-crash-when-svg-is-present-expected.txt
    A LayoutTests/fast/inline/invalidation-crash-when-svg-is-present.html
    M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp

  Log Message:
  -----------
  [IFC][Invalidation] Content inside SVG should not be considered part of IFC content
https://bugs.webkit.org/show_bug.cgi?id=261278
<rdar://114700736>

Reviewed by Antti Koivisto.

The containing block logic skips (inline) SVG root and comes back for content _inside_ SVG with a renderer that's also an IFC root.

* LayoutTests/fast/inline/invalidation-crash-when-svg-is-present-expected.txt: Added.
* LayoutTests/fast/inline/invalidation-crash-when-svg-is-present.html: Added.
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::containing):

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




More information about the webkit-changes mailing list