14 lines
409 B
HTML
14 lines
409 B
HTML
<!DOCTYPE html>
|
|
<div style="display: table;">
|
|
<div style="display: table-row-group;">
|
|
<span style="display: table-cell;">Test passes if this text is </span>
|
|
<div id=second style="display: table-row;"></div>
|
|
<span style="display: table-cell;">all on one line.</span>
|
|
<div style="display: table-row;"></div>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
document.body.offsetHeight;
|
|
second.remove();
|
|
</script>
|