https://bugs.webkit.org/show_bug.cgi?id=46948 Crash with all-
authorbdakin@apple.com <bdakin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 Oct 2010 01:13:37 +0000 (01:13 +0000)
committerbdakin@apple.com <bdakin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 1 Oct 2010 01:13:37 +0000 (01:13 +0000)
commit324058cd35e9b8817f482b981d7052b3be255c93
treef60b714c14f2b323b8077220c9a81341b41a2dab
parenta62867cdcd54796d855f14932c72c7b349ad24f5
https://bugs.webkit.org/show_bug.cgi?id=46948 Crash with all-
whitespace separators for mfenced

Reviewed by Adele Peterson.

WebCore:

Check the size of characters instead of separators in case all the
separators were whitespace.

* mathml/RenderMathMLFenced.cpp:
(WebCore::RenderMathMLFenced::updateFromElement):

LayoutTests:

* mathml/fenced-whitespace-separators-crash-expected.txt: Added.
* mathml/fenced-whitespace-separators-crash.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@68856 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/mathml/fenced-whitespace-separators-crash-expected.txt [new file with mode: 0644]
LayoutTests/mathml/fenced-whitespace-separators-crash.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/mathml/RenderMathMLFenced.cpp