| Index: LayoutTests/fast/table/caption-position.html
|
| diff --git a/LayoutTests/fast/table/caption-position.html b/LayoutTests/fast/table/caption-position.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..992794bb5c5d5f2c01ac44bf5d8833871354536e
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/table/caption-position.html
|
| @@ -0,0 +1,19 @@
|
| +<!DOCTYPE html>
|
| +Test passes if above is on top.
|
| +<table cellspacing="0" cellpadding="0">
|
| + <caption>
|
| + <div style="position:relative; height:2em;">
|
| + <div id="elm" style="position:absolute; left:0;">above</div>
|
| + </div>
|
| + </caption>
|
| + <tr>
|
| + <td>below</td>
|
| + </tr>
|
| +</table>
|
| +
|
| +<script>
|
| +onload = function() {
|
| + document.body.offsetTop;
|
| + document.getElementById('elm').style.left = '1px';
|
| +}
|
| +</script>
|
|
|