Make relayout-nested-positioned-elements-crash.html more reliable
authorbenjamin@webkit.org <benjamin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 23 Oct 2011 00:40:00 +0000 (00:40 +0000)
committerbenjamin@webkit.org <benjamin@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 23 Oct 2011 00:40:00 +0000 (00:40 +0000)
commit9077f7683e2d73d00a78df7647396ef7a0c534fa
treed4d0eb79b10896612346eaf315a85946b8840868
parent647f70e9981d002847806c1a92f2a38c7d6d0122
Make relayout-nested-positioned-elements-crash.html more reliable
https://bugs.webkit.org/show_bug.cgi?id=70672

Reviewed by Kenneth Rohde Christiansen.

The test relayout-nested-positioned-elements-crash relies on implementation
details of the test runner. If the function runTest() is run
during the test, the result will be different than the expected results.

Change the test to use the Javascript test framework.
Ensure the element has the correct style in the final state.

* fast/block/positioning/relayout-nested-positioned-elements-crash-expected.txt:
* fast/block/positioning/relayout-nested-positioned-elements-crash.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@98197 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/block/positioning/relayout-nested-positioned-elements-crash-expected.txt
LayoutTests/fast/block/positioning/relayout-nested-positioned-elements-crash.html