Closed Bug 17415 Opened 26 years ago Closed 26 years ago

deleteTHead(); doesn't seem to be deleting the THead

Categories

(Core :: DOM: Core & HTML, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: jcarpenter0524, Assigned: vidur)

Details

(Whiteboard: [TESTCASE])

Attachments

(2 files)

Overview Description: In the code I will attach, I have created a table with a THead, later I use the deleteTHead(); method to delete it, but the THead is still there. Steps to Reproduce: - see the attached file. Build Date & Platform Bug Found: 1999102708 Win98 Additional Builds and Platforms Tested On: 1999102715 Linux 6.0 (Mac build crashed on startup...)
Attached file attaching testcase —
QA Contact: gerardok → janc
setting QA to janc
In an attempt to get my bug list in order again, marking all the bugs I have currently as ASSIGNED.
Whiteboard: [TESTCASE]
nsHTMLTableElement::DeleteTHead calls nsHTMLTableElement::GetTHead which, as described in bug #9213, fails to find the actual THEAD element because it's comparing text in different cases. (Also, already has testcase.)
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Fixed on 1/18/2000. Jan, the original test has bugs in it. For one, it's oTable.tHead and not oTable.THead (not the casing difference). The fixed test case is attached below.
Attached file Fixed test case —
Sorry Vidur. verified
Status: RESOLVED → VERIFIED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: