Closed Bug 26921 Opened 25 years ago Closed 24 years ago

XML IRS info sheet demo doesn't collasp TOC on toggle

Categories

(Core :: XML, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: mrmcd, Assigned: nisheeth_mozilla)

Details

using build #2000020708. The IRC info sheet XML demo, accessable from
debug=>viewer demos=>#15 XML IRS loads correctly, and upon click the toggle
button for the table of contents, appears correctly. However, hitting the button
again results in no action, instead of the expected collasping/hiding of the TOC.
Accepting bug and setting milestone to M17...
Status: NEW → ASSIGNED
Target Milestone: M17
this is an INVALID bug, it's a bug in the JS code of the page, nothing to do
with mozilla...when you click the button this is what is run:

function initiateCreateToc()
{
   setTimeout(createToc, 0);
}

which just runs this sub:

function createToc() {
  if (document.getElementsByTagName("toc").length == 0) {
    .
    .
  }
}

so if the side bar isn't there it's created, but if it is there nothing
happens...so this is purely a JS bug, NOT a mozilla bug
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Marking bug invalid as per rufus's comments.  Thanks for the analysis.
Adding 'verifyme' keyword
Keywords: verifyme
QA Contact: chrisd → petersen
verifying invalid.
Status: RESOLVED → VERIFIED
Keywords: verifyme
You need to log in before you can comment on or make changes to this bug.