Closed Bug 294063 Opened 19 years ago Closed 19 years ago

Problem with switchig between display:none and display:block in <tr> tag

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 97506

People

(Reporter: shadeofgrass, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru-RU; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

In the page http://www.cbonds.info/all/eng/index/ I try to show/hide a part of
rows in table when user clicks on 'plus'/'minus' icon in some rows.
Firefox doesn't hide and show these rows properly. It adds some blank space.
To realise this I use JavaSctipt code:
tableObject.rows[i].style.display='none'
tableObject.rows[i].style.display='block'

It works properly in Internet Explorer


Reproducible: Always

Steps to Reproduce:
1. Open http://www.cbonds.info/all/eng/index/ page in FireFox
2. Try to click on 'plus' icon near 'RUX-Cbonds' cell
3. Try to click on 'minus' icon

Actual Results:  
Hidden rows dislplayed with some blank space

Expected Results:  
Hidden rows sholdn't be displayed
Default value of the table row is "table-row", instead toggle between "none" and
"" for a cross-browser solution.

*** This bug has been marked as a duplicate of 97506 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.