Closed Bug 467978 Opened 16 years ago Closed 16 years ago

changing style.display from block to table-row in TR doesn't take effect until document.body.focus() called

Categories

(Core :: Layout: Tables, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 148810

People

(Reporter: svg, Unassigned)

References

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4 changing style.display from block to table-row in TR doesn't take effect until document.body.focus() called Reproducible: Always Steps to Reproduce: 1. Load a page with many tables and TR's with style='display:block' (page saved for IE) 2. Try to change style.display to 'table-row' for each TR. Some changes don't take effect unitl alert() or document.body.focus() is called after each style.display='table-row'
Please retest with the latest development build: http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-central/ and if the bug is still present and reproducible with a new profile, can you provide a testcase? https://developer.mozilla.org/en/Reducing_testcases
Component: General → Layout: Tables
Product: Firefox → Core
QA Contact: general → layout.tables
Version: unspecified → Trunk
Using Firefox trunk on Mac, I see a different layout every time I load the testcase. I'm guessing this is a manifestation of bug 148810: Gecko gets many dynamic cases involving mis-nested table displays wrong. Until that bug is fixed, the workaround I recommend is to avoid hitting those cases: use only table-row when you're directly inside table-row-group.
Depends on: 148810
The patch for bug 148810 does in fact fix this.
Status: UNCONFIRMED → RESOLVED
Closed: 16 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: