Closed Bug 263852 Opened 20 years ago Closed 20 years ago

Table "collapse" when <col>s arrive delayed

Categories

(Core :: Layout: Tables, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bugzilla.mozilla.org-3, Unassigned)

References

()

Details

If a table uses <col>s and the server "sleeps" between sending the <table> tag
end the first <col> tag, the table "collapses", i.e. the <td> elements are
rendered like they were <span> elements.

Example code (PHP):

    <table>
      <? flush(); sleep(1); ?>
      <col>
      <col>
      <tr>
        <td>fooooo</td>
        <td>bar</td>
      </tr>
      <tr>
        <td>foo</td>
        <td>baaaar</td>
      </tr>
    </table>

Expected output:
fooooo bar
foo    baaaar

Actual output:
fooooo bar
foo baaaar


I am using Firefox 1.0 PR1.
The behaviour seems to depend on the amount of whitespace and the number of
comment tags between the <table> tag and the first <col> tag.
Could you please retest this with a current nightly, the avairy branch has now a
several month older gecko engine than the trunk. In general it is preferable to
use the trunk build for testing layout bug. I think I fixed it within bug 248474.
It appears to work in a recent nightly from the trunk - marking WORKSFORME.

In the future I'll try a trunk build before reporting bugs.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.