Closed Bug 293882 Opened 20 years ago Closed 20 years ago

multiple rows when writing <thead> using javascript

Categories

(Core :: Layout: Tables, defect)

x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: thorsten.schoel, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.6) Gecko/20050405 Firefox/1.0 (Ubuntu package 1.0.2)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.6) Gecko/20050405 Firefox/1.0 (Ubuntu package 1.0.2)

For every document.write in a thead, Gecko produces a new row:

<thead>
<script>
document.write ("<td>foo</td><td>bar</td>");
</script>
</thead>

will produce one row, whereas:

<thead>
<script>
document.write ("<td>foo</td>");
document.write ("<td>bar</td>");
</script>
</thead>

produces two!

This problem does not appear in <tr>-elements.

Reproducible: Always

Steps to Reproduce:
See above
Actual Results:  
Produces multiple rows

Expected Results:  
Should produce one row
Works in current trunk builds, can't find the bug that fixed it.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: