Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6c89c10cbe633ca89d115925817694c1742e8ece
https://github.com/WebKit/WebKit/commit/6c89c10cbe633ca89d115925817694c1742e8ece
Author: Antti Koivisto <[email protected]>
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@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@safari-7617-branch (699e9669a530).
rdar://119596409
Canonical link: https://commits.webkit.org/272334@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes