Add tests for dynamic changes in msqrt/mroot
authorfred.wang@free.fr <fred.wang@free.fr@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 7 Jun 2014 08:10:43 +0000 (08:10 +0000)
committerfred.wang@free.fr <fred.wang@free.fr@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 7 Jun 2014 08:10:43 +0000 (08:10 +0000)
commitc22172138455ba10c54d69c49a09a8e201c46e5e
tree95894636acbb5afa99cf368c6de419fa9c1034bc
parent2ff473bf950ab81a6b732f64cf85137f3c337634
Add tests for dynamic changes in msqrt/mroot
https://bugs.webkit.org/show_bug.cgi?id=133557

Reviewed by Chris Fleizach.

This patch adds some tests to verify that a MathML msqrt/mroot element to which we applied dynamic additions and removals of children renders the same as its static equivalent and that no crashes happen.
Unfortunately, the existing code does not handle them very well so they are skipped until we do the refactoring of bug 119038.

* TestExpectations: skip the tests.
* mathml/roots-addChild-expected.html: Added.
* mathml/roots-addChild.html: Added.
* mathml/roots-removeChild-expected.html: Added.
* mathml/roots-removeChild.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@169671 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/TestExpectations
LayoutTests/mathml/roots-addChild-expected.html [new file with mode: 0644]
LayoutTests/mathml/roots-addChild.html [new file with mode: 0644]
LayoutTests/mathml/roots-removeChild-expected.html [new file with mode: 0644]
LayoutTests/mathml/roots-removeChild.html [new file with mode: 0644]