haikuwebkit/LayoutTests/mathml
commit-queue@webkit.org 1d8695472d [MathML] Assertion failure in RenderTreeNeedsLayoutChecker
https://bugs.webkit.org/show_bug.cgi?id=224903

Patch by Frédéric Wang <fwang@igalia.com> on 2021-04-27
Reviewed by Alan Bujtas.

Source/WebCore:

After r226180, RenderMathMLRow no longer performs layout of its "embellished operator"
children only its core <mo> descendant, which is causing dirty layout.

Test: mathml/vertical-embellished-op-dirty-layout.html

* rendering/mathml/RenderMathMLRow.cpp:
(WebCore::RenderMathMLRow::stretchVerticalOperatorsAndLayoutChildren): always layout the
"embellished operator" child, after its core <mo>.

LayoutTests:

Add regression test with all vertical embellished operators (other than <mo>) supported
by WebKit.

* mathml/vertical-embellished-op-dirty-layout-expected.txt: Added.
* mathml/vertical-embellished-op-dirty-layout.html: Added.

Canonical link: https://commits.webkit.org/237058@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@276630 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-04-27 07:36:06 +00:00
..
non-core Remove experimental: and internal: prefixes from test header commands 2020-11-04 15:56:26 +00:00
opentype Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
presentation Remove experimental: and internal: prefixes from test header commands 2020-11-04 15:56:26 +00:00
resources
EmptyMFracCrash-expected.txt
EmptyMFracCrash.xhtml
EmptyMunderOverCrash-expected.txt
EmptyMunderOverCrash.xhtml
arbitrary-markup-expected.txt
arbitrary-markup.html
cells-and-scripts-crash-expected.txt
cells-and-scripts-crash.html
empty-mo-expected.txt
empty-mo.html
empty-mroot-crash-expected.txt
empty-mroot-crash.xhtml
empty-msubsup-crash-expected.txt
empty-msubsup-crash.html
fenced-whitespace-separators-crash-expected.txt
fenced-whitespace-separators-crash.html
focus-event-handling-expected.txt
focus-event-handling.html
fractions-invalid-expected.html
fractions-invalid.html
invalid-markup-expected.txt
invalid-markup.html
invalid-scripts-crash-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
invalid-scripts-crash.html
maction-removeChild-expected.txt
maction-removeChild.html
mathml-overflow-crash-expected.txt
mathml-overflow-crash.html Remove experimental: and internal: prefixes from test header commands 2020-11-04 15:56:26 +00:00
mathml-unknown-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
mathml-unknown.xhtml
mfenced-displaystyle-and-mathvariant-crash-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
mfenced-displaystyle-and-mathvariant-crash.html
mfenced-root-layer-expected.txt
mfenced-root-layer.html
mfrac-nested-expected.txt
mfrac-nested.html
mn-as-list-item-assert-expected.txt
mn-as-list-item-assert.html
mpadded-crash-expected.txt
mpadded-crash.html
mrow-preferred-width-with-out-of-flow-child-expected.html
mrow-preferred-width-with-out-of-flow-child.html
msub-anonymous-child-render-crash-expected.txt
msub-anonymous-child-render-crash.html
msubsup-fuzz-expected.txt
msubsup-fuzz.html
msubsup-no-grandchild-expected.txt
msubsup-no-grandchild.xhtml
msubsup-remove-children-expected.txt
msubsup-remove-children.xhtml
munderover-remove-children-expected.txt
munderover-remove-children.html
operator-hijacks-fenced-node-expected.txt
operator-hijacks-fenced-node.xhtml
out-of-flow-in-token-crash-expected.txt
out-of-flow-in-token-crash.html
radical-fallback.html
roots-addChild-expected.html
roots-addChild.html
roots-removeChild-expected.html
roots-removeChild.html
row-clone-crash-expected.txt
row-clone-crash.html
rowspan-crash-expected.txt
rowspan-crash.xhtml
scripts-addChild-expected.html
scripts-addChild.html
scripts-removeChild-expected.html
scripts-removeChild.html
scripts-with-prefixes-expected.txt Various test-cases from Gecko assert with ASSERTION FAILED: tagName == mmultiscriptsTag or ASSERTION FAILED: tagName == mrootTag 2020-10-11 19:16:49 +00:00
scripts-with-prefixes.xhtml Various test-cases from Gecko assert with ASSERTION FAILED: tagName == mmultiscriptsTag or ASSERTION FAILED: tagName == mrootTag 2020-10-11 19:16:49 +00:00
square-roots-with-prefixes-expected.txt Various test-cases from Gecko assert with ASSERTION FAILED: tagName == mmultiscriptsTag or ASSERTION FAILED: tagName == mrootTag 2020-10-11 19:16:49 +00:00
square-roots-with-prefixes.xhtml Various test-cases from Gecko assert with ASSERTION FAILED: tagName == mmultiscriptsTag or ASSERTION FAILED: tagName == mrootTag 2020-10-11 19:16:49 +00:00
tabindex-order-expected.txt
tabindex-order.html
vertical-embellished-op-dirty-layout-expected.txt [MathML] Assertion failure in RenderTreeNeedsLayoutChecker 2021-04-27 07:36:06 +00:00
vertical-embellished-op-dirty-layout.html [MathML] Assertion failure in RenderTreeNeedsLayoutChecker 2021-04-27 07:36:06 +00:00
very-large-stretchy-operators-expected.txt
very-large-stretchy-operators.html
wbr-in-mroot-crash-expected.txt
wbr-in-mroot-crash.html