Closed Bug 307465 Opened 19 years ago Closed 19 years ago

lookupPrefix, lookupNamespaceURI and isDefaultNamespace in Document should get the values from documentElement.

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: smaug, Assigned: smaug)

References

()

Details

Attachments

(1 file)

According to the DOM3 Core - Appendix B, lookupPrefix, lookupNamespaceURI and
isDefaultNamespace in Document should get the values from documentElement. Atm
nsDocument returns empty string when calling lookupPrefix or lookupNamespaceURI,
and false when using isDefaultNamespace.
Blocks: 308430
Status: NEW → ASSIGNED
Assignee: general → smaug
Status: ASSIGNED → NEW
Attached patch proposed patchSplinter Review
Make Document to work like documentElement.
Attachment #199096 - Flags: superreview?(jst)
Attachment #199096 - Flags: review?(jst)
Comment on attachment 199096 [details] [diff] [review]
proposed patch

r+sr=jst
Attachment #199096 - Flags: superreview?(jst)
Attachment #199096 - Flags: superreview+
Attachment #199096 - Flags: review?(jst)
Attachment #199096 - Flags: review+
checked in
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
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.

Attachment

General

Created:
Updated:
Size: