[webkit-changes] [WebKit/WebKit] cd1642: [IFC][Integration] Do not try to update style on n...

Alan Baradlay noreply at github.com
Sat Oct 22 09:13:16 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cd16428bf17b4bd87e332548b060d175fbb3c228
      https://github.com/WebKit/WebKit/commit/cd16428bf17b4bd87e332548b060d175fbb3c228
  Author: Alan Bujtas <zalan at apple.com>
  Date:   2022-10-22 (Sat, 22 Oct 2022)

  Changed paths:
    A LayoutTests/fast/block/non-content-type-renderers-style-update-crash-expected.txt
    A LayoutTests/fast/block/non-content-type-renderers-style-update-crash.html
    M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp

  Log Message:
  -----------
  [IFC][Integration] Do not try to update style on non-content type of renderers
https://bugs.webkit.org/show_bug.cgi?id=246900
<rdar://101454527>

Reviewed by Antti Koivisto.

Extend the non-content renderer (e.g. scrollbar) check to block types.

* LayoutTests/fast/block/non-content-type-renderers-style-update-crash-expected.txt: Added.
* LayoutTests/fast/block/non-content-type-renderers-style-update-crash.html: Added.
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::isContentRenderer):
(WebCore::LayoutIntegration::LineLayout::blockContainer):
(WebCore::LayoutIntegration::LineLayout::containing):

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




More information about the webkit-changes mailing list