This website requires JavaScript.
Explore
Help
Sign In
nephele
/
haikuwebkit
Watch
1
Star
0
Fork
You've already forked haikuwebkit
0
Code
Issues
Releases
Activity
haiku
haikuwebkit
/
LayoutTests
/
mathml
/
mfenced-displaystyle-and-ma...
11 lines
53 B
Plaintext
Raw
Permalink
Normal View
History
Unescape
Escape
ASSERTION FAILED: !isAnonymous() in WebCore::RenderMathMLOperator::updateTokenContent https://bugs.webkit.org/show_bug.cgi?id=166011 Patch by Frederic Wang <fwang@igalia.com> on 2017-11-16 Reviewed by Alejandro G. Castro. Source/WebCore: RenderMathMLFencedOperator does not support mathvariant or displaystyle transforms. This is one of several issues of the mfenced element (see bug 160509). However, MathMLStyle::updateStyleIfNeeded() still tries to use the implementation of the parent RenderMathMLOperator class, which only works for non-anonymous operators. This patch skips the updateTokenContent() calls for anonymous mfenced operators in order to avoid ASSERTION failures. Test: mathml/mfenced-displaystyle-and-mathvariant-crash.html * rendering/mathml/MathMLStyle.cpp: (WebCore::MathMLStyle::updateStyleIfNeeded): Skip anonymous token elements. LayoutTests: Add a crash test checking displaystyle and mathvariant on mfenced operators. * mathml/mfenced-displaystyle-and-mathvariant-crash-expected.txt: Added. * mathml/mfenced-displaystyle-and-mathvariant-crash.html: Added. Canonical link: https://commits.webkit.org/195787@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224910 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-16 08:14:33 +00:00
This test passes if it does not crash
0
1
2
Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) https://bugs.webkit.org/show_bug.cgi?id=217016 Reviewed by Zalan Bujtas. Done with this command: find LayoutTests -name '*-expected.txt' | grep -v imported | xargs awk '/^CONSOLE MESSAGE:/ { next }; /^<\?xml/ { nextfile }; { print FILENAME; nextfile }' | xargs perl -i -pe 's/ +$//g' This affects many files, and it's not helpful to clog the change log with a list of them. Canonical link: https://commits.webkit.org/229803@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267644 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-27 02:15:19 +00:00
ASSERTION FAILED: !isAnonymous() in WebCore::RenderMathMLOperator::updateTokenContent https://bugs.webkit.org/show_bug.cgi?id=166011 Patch by Frederic Wang <fwang@igalia.com> on 2017-11-16 Reviewed by Alejandro G. Castro. Source/WebCore: RenderMathMLFencedOperator does not support mathvariant or displaystyle transforms. This is one of several issues of the mfenced element (see bug 160509). However, MathMLStyle::updateStyleIfNeeded() still tries to use the implementation of the parent RenderMathMLOperator class, which only works for non-anonymous operators. This patch skips the updateTokenContent() calls for anonymous mfenced operators in order to avoid ASSERTION failures. Test: mathml/mfenced-displaystyle-and-mathvariant-crash.html * rendering/mathml/MathMLStyle.cpp: (WebCore::MathMLStyle::updateStyleIfNeeded): Skip anonymous token elements. LayoutTests: Add a crash test checking displaystyle and mathvariant on mfenced operators. * mathml/mfenced-displaystyle-and-mathvariant-crash-expected.txt: Added. * mathml/mfenced-displaystyle-and-mathvariant-crash.html: Added. Canonical link: https://commits.webkit.org/195787@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@224910 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-11-16 08:14:33 +00:00
0
1
2