Branch: refs/heads/webkitglib/2.46
Home: https://github.com/WebKit/WebKit
Commit: 977858fd2a178b4e9cc6258f7cc656e6ac9b65cd
https://github.com/WebKit/WebKit/commit/977858fd2a178b4e9cc6258f7cc656e6ac9b65cd
Author: Anne van Kesteren <[email protected]>
Date: 2025-03-04 (Tue, 04 Mar 2025)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/input-type-checkbox-switch.tentative.window-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/input-type-checkbox-switch.tentative.window.js
M Source/WebCore/html/CheckboxInputType.cpp
M Source/WebCore/html/HTMLInputElement.cpp
Log Message:
-----------
Cherry-pick 288458@main (1e3a17caec13).
https://bugs.webkit.org/show_bug.cgi?id=285338
ASSERTION FAILED: !input->userAgentShadowRoot() when cloning a switch input
https://bugs.webkit.org/show_bug.cgi?id=285338
Reviewed by Ryosuke Niwa.
No longer initialize a user agent shadow root when a switch attribute
is set through the parser or cloning as this will be taken care of
later.
Additionally, add more ScriptDisallowedScope::EventAllowedScope
annotations inside <input type=checkbox switch> user agent shadow root
creation as otherwise we'd run into asserts there as well.
*
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/input-type-checkbox-switch.tentative.window-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-input-element/input-type-checkbox-switch.tentative.window.js:
* Source/WebCore/html/CheckboxInputType.cpp:
(WebCore::CheckboxInputType::createShadowSubtree):
* Source/WebCore/html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::attributeChanged):
Canonical link: https://commits.webkit.org/288458@main
Canonical link: https://commits.webkit.org/282416.467@webkitglib/2.46
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes