Closed Bug 305586 Opened 19 years ago Closed 19 years ago

javascript handling reapplying style to a table that is scrollintoview'ed

Categories

(Firefox :: General, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 97506

People

(Reporter: sljtwigge, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

When collapsing a table (set to 100% width) within a table.td-section, reopening
the section returns a table where this width-setting is not reapplied, other
formatting from the stylesheet (color, font-weight) is applied. IE does handle
this correctly. Is this a evaluation issue?

Uncertain about switching to toggling style.display properties, but this should
also work in Firefox.

Reproducible: Always

Steps to Reproduce:
1. create a table/tr/td
2. within the td create a new table with an id and style.width settings to 100%
3. then use javascript and the scrollintoview to make the table disappear and
reappear

Actual Results:  
the table reappears within the td but has been compacted, even padding-left
style settings have not been reapplied

Expected Results:  
a table within the td that has proper width settings as seen in a fresh page load.

app.build.id: 2005071605, default theme
Please explain how you are making the table disappear, preferably attaching a
simple testcase that demonstrates the issue.
as requested by mossop_a_blueprintit.co_uk
In the future please try to attach a single html page as a testcase where possible.

This is not really a bug, you should not be changing a table row's display style
to block, it should be table-row.


*** 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.

Attachment

General

Creator:
Created:
Updated:
Size: