Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 74250f489695d05f6bf66b319b175aecabf73b8a
https://github.com/WebKit/WebKit/commit/74250f489695d05f6bf66b319b175aecabf73b8a
Author: Ahmad Saleem <[email protected]>
Date: 2026-02-23 (Mon, 23 Feb 2026)
Changed paths:
M LayoutTests/TestExpectations
M LayoutTests/accessibility/mac/mathml-multiscript-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/mrow/inferred-mrow-stretchy-expected.txt
M
LayoutTests/platform/glib/accessibility/math-multiscript-attributes-expected.txt
M
LayoutTests/platform/mac/accessibility/math-multiscript-attributes-expected.txt
M Source/WebCore/mathml/mathtags.in
Log Message:
-----------
[MathML] none and mprescripts should be laid out as mrow elements
https://bugs.webkit.org/show_bug.cgi?id=308442
rdar://170940035
Reviewed by Frédéric Wang.
This patch aligns WeKit with Gecko / Firefox and Blink / Chromium.
Change none and mprescripts from MathMLPresentationElement to
MathMLRowElement in mathtags.in so they get RenderMathMLRow.
The spec [1] states:
"The <mprescripts> element is laid out as an mrow element."
[1]
https://w3c.github.io/mathml-core/#prescripts-and-tensor-indices-mmultiscripts
This consequently fixes stretchy operators inside these elements,
as RenderMathMLRow calls stretchVerticalOperatorsAndLayoutChildren().
This is safe because all code handling these elements in
RenderMathMLScripts.cpp uses tag name checks, not C++ type checks.
* LayoutTests/TestExpectations: Progressions
*
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/mrow/inferred-mrow-stretchy-expected.txt:
Ditto
* Source/WebCore/mathml/mathtags.in:
> Rebaselines:
*
LayoutTests/platform/glib/accessibility/math-multiscript-attributes-expected.txt:
*
LayoutTests/platform/mac/accessibility/math-multiscript-attributes-expected.txt:
* LayoutTests/accessibility/mac/mathml-multiscript-expected.txt:
Canonical link: https://commits.webkit.org/308050@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications