[webkit-changes] [WebKit/WebKit] 6c89c1: REGRESSION(267786 at main): Crash under RenderBlock::...

Antti Koivisto noreply at github.com
Wed Dec 20 02:23:12 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6c89c10cbe633ca89d115925817694c1742e8ece
      https://github.com/WebKit/WebKit/commit/6c89c10cbe633ca89d115925817694c1742e8ece
  Author: Antti Koivisto <antti at apple.com>
  Date:   2023-12-20 (Wed, 20 Dec 2023)

  Changed paths:
    A LayoutTests/fast/css/container-style-editability-crash-expected.txt
    A LayoutTests/fast/css/container-style-editability-crash.html
    M LayoutTests/platform/ios-wk2/fast/dom/focus-dialog-blur-input-type-change-crash-expected.txt
    M Source/WebCore/dom/Element.cpp
    M Source/WebCore/dom/Element.h

  Log Message:
  -----------
  REGRESSION(267786 at main): Crash under RenderBlock::isSelectionRoot() with query container
https://bugs.webkit.org/show_bug.cgi?id=263522
rdar://115777188

Reviewed by Alan Baradlay.

* LayoutTests/fast/css/container-style-editability-crash-expected.txt: Added.
* LayoutTests/fast/css/container-style-editability-crash.html: Added.
* Source/WebCore/dom/Element.cpp:
(WebCore::Element::resolveComputedStyle):
(WebCore::Element::computedStyleForEditability):

Avoid triggering style resolution when computing editability.

* Source/WebCore/dom/Element.h:

Originally-landed-as: 267815.436 at safari-7617-branch (699e9669a530). rdar://119596409
Canonical link: https://commits.webkit.org/272334@main




More information about the webkit-changes mailing list