Closed Bug 224788 Opened 21 years ago Closed 21 years ago

<option> element has no parentElement attribute

Categories

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

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: clarence, Unassigned)

References

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 Firebird/0.7
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 Firebird/0.7

   

Reproducible: Always

Steps to Reproduce:
1.
2.
3.

Actual Results:  
   

Expected Results:
afaik, parentElement is part of the MS DHTML DOM, not the standard W3C DOM.

Moving components to get confirmation on this, but I think you should be using 
parentNode instead.
Assignee: blake → general
Component: General → DOM Core
Product: Firebird → Browser
QA Contact: ian
Version: unspecified → Trunk
This may be okay. My copy of DYNAMIC HTML from O'Reilly says that parentElement
is  specified by DOM level 1, but I can't find it in the spec from w3c.org. I
tried parentNode in my code instead, and it worked.
Yep, parentElement is an MS Extension, we don't support it. Marking INVALID,
thanks Mike!
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Component: DOM: Core → DOM: Core & HTML
QA Contact: ian → general
You need to log in before you can comment on or make changes to this bug.