Closed Bug 300809 Opened 19 years ago Closed 19 years ago

when inserting a table via javascript the table don't inherits the border-collapse attribute from CSS

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: walter.php, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; pt-BR; rv:1.7.8) Gecko/20050517 Firefox/1.0.4 (Debian package 1.0.4-2)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; pt-BR; rv:1.7.8) Gecko/20050517 Firefox/1.0.4 (Debian package 1.0.4-2)

When I create a table by script and set a class to it, it is displayed right,
but it doesn't inherits the attribue from CSS

Reproducible: Always

Steps to Reproduce:
1. Open the example page http://www.waltercruz.com/devel/mozilla/collapse.html
2. Click on "Insert More" - This will add a similar block to a table that
already exists on HTML
3. Click on "Add a new table (or new items if you already added a table)" - This
will create a new table, quite similar to the table above, but itś created
totally by script.



Actual Results:  
The existent table and the table created by script gets the same class, by that
created doesn't handle the attribute border-collapse correctly.

Expected Results:  
Show both the table with the correct border-collapse
Works for me with current trunk build. I can see the bug, though, in Mozilla1.7.
Please, also test this with the latest nightly trunk build:
http://ftp.scarlet.be/pub/mozilla.org/firefox/nightly/latest-trunk/
WFM on Windows/Firefox 1.5 final


Marking WFM because it has been reported to work on the trunk + FF 1.5, and this was seen using FF 1.04. 

Reporter, if you still see the bug on a current version of firefox, please reopen.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.