haikuwebkit/LayoutTests/mathml/mathml-overflow-crash-expec...

30 lines
285 B
Plaintext
Raw Permalink Normal View History

With async scrolling enabled, this MathML test asserts https://bugs.webkit.org/show_bug.cgi?id=196123 Source/WebCore: This patch ensures that updateScrollInfoAfterLayout() is called during MathML layout. This fixes assertions when async scrolling is enabled and MathML elements have non-visible overflow. Patch by Frederic Wang <fwang@igalia.com> on 2019-04-24 Reviewed by Rob Buis. Test: mathml/mathml-overflow-crash.html * rendering/mathml/RenderMathMLBlock.cpp: (WebCore::RenderMathMLBlock::layoutBlock): (WebCore::RenderMathMLBlock::layoutInvalidMarkup): * rendering/mathml/RenderMathMLFraction.cpp: (WebCore::RenderMathMLFraction::layoutBlock): * rendering/mathml/RenderMathMLMath.cpp: (WebCore::RenderMathMLMath::layoutBlock): * rendering/mathml/RenderMathMLMenclose.cpp: (WebCore::RenderMathMLMenclose::layoutBlock): * rendering/mathml/RenderMathMLOperator.cpp: (WebCore::RenderMathMLOperator::layoutBlock): * rendering/mathml/RenderMathMLPadded.cpp: (WebCore::RenderMathMLPadded::layoutBlock): * rendering/mathml/RenderMathMLRoot.cpp: (WebCore::RenderMathMLRoot::layoutBlock): * rendering/mathml/RenderMathMLRow.cpp: (WebCore::RenderMathMLRow::layoutBlock): * rendering/mathml/RenderMathMLScripts.cpp: (WebCore::RenderMathMLScripts::layoutBlock): * rendering/mathml/RenderMathMLSpace.cpp: (WebCore::RenderMathMLSpace::layoutBlock): * rendering/mathml/RenderMathMLToken.cpp: (WebCore::RenderMathMLToken::layoutBlock): * rendering/mathml/RenderMathMLUnderOver.cpp: (WebCore::RenderMathMLUnderOver::layoutBlock): LayoutTests: Patch by Frederic Wang <fwang@igalia.com> on 2019-04-24 Reviewed by Rob Buis. Add a test for each MathML layoutBlock functions/classes. * mathml/mathml-overflow-crash-expected.txt: Added. * mathml/mathml-overflow-crash.html: Added. Canonical link: https://commits.webkit.org/211455@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244595 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-04-24 17:19:18 +00:00
This test passes if it does not crash
RenderMathMLFenced
RenderMathMLFraction
RenderMathMLMath
RenderMathMLMenclose
|
RenderMathMLOperator
RenderMathMLPadded
RenderMathMLRoot
RenderMathMLRow
RenderMathMLScripts
RenderMathMLSpace
A
RenderMathMLToken
RenderMathMLUnderOver