| Index: LayoutTests/fast/table/table-split-positioned-object-crash.html
|
| diff --git a/LayoutTests/fast/table/table-split-positioned-object-crash.html b/LayoutTests/fast/table/table-split-positioned-object-crash.html
|
| index e379bb1db1aa8742a6d08ca2157791519298ade0..577204a9d5f230dc3b5d76f13c60f2a7b6b78ea1 100644
|
| --- a/LayoutTests/fast/table/table-split-positioned-object-crash.html
|
| +++ b/LayoutTests/fast/table/table-split-positioned-object-crash.html
|
| @@ -1,35 +1,35 @@
|
| -<!DOCTYPE html>
|
| -<html>
|
| -WebKit Bug 89599 - Crash in RenderBlock::layoutPositionedObjects.<br />
|
| -Test passes if it does not crash.
|
| -<style>
|
| -table { position: relative; }
|
| -.span:last-child { position: relative; }
|
| -</style>
|
| -<script>
|
| -if (window.testRunner)
|
| - testRunner.dumpAsText();
|
| -
|
| -function crash() {
|
| - table = document.createElement('table');
|
| - document.documentElement.appendChild(table);
|
| -
|
| - span1 = document.createElement('span');
|
| - span2 = document.createElement('span');
|
| - span3 = document.createElement('span');
|
| - span3.setAttribute('class', 'span');
|
| - span4 = document.createElement('span');
|
| - span4.style.position = 'absolute';
|
| - span3.appendChild(span4);
|
| -
|
| - table.appendChild(span1);
|
| - table.appendChild(span2);
|
| - table.appendChild(span3);
|
| -
|
| - document.documentElement.offsetTop;
|
| - span2.style.display = 'table-header-group';
|
| - span3.style.display = 'block'
|
| -}
|
| -window.onload = crash;
|
| -</script>
|
| -</html>
|
| +<!DOCTYPE html>
|
| +<html>
|
| +WebKit Bug 89599 - Crash in RenderBlock::layoutPositionedObjects.<br />
|
| +Test passes if it does not crash.
|
| +<style>
|
| +table { position: relative; }
|
| +.span:last-child { position: relative; }
|
| +</style>
|
| +<script>
|
| +if (window.testRunner)
|
| + testRunner.dumpAsText();
|
| +
|
| +function crash() {
|
| + table = document.createElement('table');
|
| + document.documentElement.appendChild(table);
|
| +
|
| + span1 = document.createElement('span');
|
| + span2 = document.createElement('span');
|
| + span3 = document.createElement('span');
|
| + span3.setAttribute('class', 'span');
|
| + span4 = document.createElement('span');
|
| + span4.style.position = 'absolute';
|
| + span3.appendChild(span4);
|
| +
|
| + table.appendChild(span1);
|
| + table.appendChild(span2);
|
| + table.appendChild(span3);
|
| +
|
| + document.documentElement.offsetTop;
|
| + span2.style.display = 'table-header-group';
|
| + span3.style.display = 'block'
|
| +}
|
| +window.onload = crash;
|
| +</script>
|
| +</html>
|
|
|