Closed Bug 157312 Opened 23 years ago Closed 23 years ago

DOM Core - Element.getAttribute('missing') returns null instead of null string

Categories

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

defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 108480

People

(Reporter: bc, Assigned: jst)

References

()

Details

Attachments

(1 file)

The DOM Core specification states that the return value of Element.getAttribute('attrname') for an element which does not have an attribute of that name, should return the null string, however Mozilla returns (as of trunk and branch 2002 07 12) returns the null value.
Attached file testcase
yes bob, it was done on purpose. For more details look at this bug. http://bugzilla.mozilla.org/show_bug.cgi?id=108480
ok. let's dupe it then *** This bug has been marked as a duplicate of 108480 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
verified dup
Status: RESOLVED → VERIFIED
Component: DOM: Core → DOM: Core & HTML
QA Contact: stummala → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: