Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 78d11dc099ead8749d55b92596e7a23ec1447e6d
https://github.com/WebKit/WebKit/commit/78d11dc099ead8749d55b92596e7a23ec1447e6d
Author: Ahmad Saleem <[email protected]>
Date: 2026-06-30 (Tue, 30 Jun 2026)
Changed paths:
M Source/WebCore/rendering/mathml/MathOperator.cpp
Log Message:
-----------
[MathML] MathOperator::reset() does not re-initialize the
m_variantGlyph/m_assembly union
https://bugs.webkit.org/show_bug.cgi?id=318188
rdar://180998446
Reviewed by Frédéric Wang Nélar.
The anonymous union holding m_variantGlyph/m_assembly is keyed by
m_stretchType, but reset() set m_stretchType back to Unstretched without
clearing the union. A previously stretched operator kept stale variant/
assembly data after reset. Re-initialize the union (m_variantGlyph = 0) to
its constructed state, as the old constructor did.
* Source/WebCore/rendering/mathml/MathOperator.cpp:
(WebCore::MathOperator::reset):
Canonical link: https://commits.webkit.org/316219@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications