Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 61ab0d062050886a432f9e1b0718a52eace4e383
https://github.com/WebKit/WebKit/commit/61ab0d062050886a432f9e1b0718a52eace4e383
Author: Frédéric Wang Nélar <[email protected]>
Date: 2026-05-12 (Tue, 12 May 2026)
Changed paths:
M Source/WebCore/dom/Element.cpp
M Source/WebCore/mathml/MathMLElement.cpp
M Source/WebCore/mathml/MathMLElement.h
Log Message:
-----------
Implement nonce-hiding for MathML elements
https://bugs.webkit.org/show_bug.cgi?id=314614
Reviewed by Anne van Kesteren.
https://github.com/whatwg/html/pull/12416
https://html.spec.whatwg.org/multipage/urls-and-fetching.html#nonce-attributes
https://github.com/web-platform-tests/wpt/pull/59809
* Source/WebCore/dom/Element.cpp:
(WebCore::Element::attributeChanged): Also handle nonce setter for MathML.
* Source/WebCore/mathml/MathMLElement.cpp:
(WebCore::MathMLElement::insertionSteps): Hide nonce for MathML.
* Source/WebCore/mathml/MathMLElement.h: Declare overridden method.
Canonical link: https://commits.webkit.org/313075@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications