[webkit-changes] [WebKit/WebKit] 8a4278: [css-anchor-position-1] Document::updateStyleIfNee...
Kiet Ho
noreply at github.com
Tue Jan 14 17:34:59 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8a4278966a12796bcd6c9643bb856d75fa7435dd
https://github.com/WebKit/WebKit/commit/8a4278966a12796bcd6c9643bb856d75fa7435dd
Author: Kiet Ho <kiet.ho at apple.com>
Date: 2025-01-14 (Tue, 14 Jan 2025)
Changed paths:
A LayoutTests/fast/css/css-anchor-position/anchor-container-crash-expected.txt
A LayoutTests/fast/css/css-anchor-position/anchor-container-crash.html
M Source/WebCore/dom/Document.cpp
M Source/WebCore/dom/Document.h
Log Message:
-----------
[css-anchor-position-1] Document::updateStyleIfNeeded: skip updating style if in the middle of anchor resolution
rdar://141735714
https://bugs.webkit.org/show_bug.cgi?id=285895
Reviewed by Antti Koivisto.
Document::updateStyleIfNeeded should skip updating style if it's in the middle
of style/layout interleaving. This includes the style/layout interleaving
of container query and anchor positioning resolution, however the code wasn't
updated to include the latter case.
* LayoutTests/fast/css/css-anchor-position/anchor-container-crash.html: Added.
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::updateStyleIfNeeded):
* Source/WebCore/dom/Document.h:
(WebCore::Document::isResolvingContainerQueries const):
Canonical link: https://commits.webkit.org/288907@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list