Closed Bug 39715 Opened 25 years ago Closed 25 years ago

Implement GetElementById() for HTML namespace elements in XML

Categories

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

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: hjtoi-bugzilla, Assigned: hjtoi-bugzilla)

Details

(Whiteboard: Fix attached)

Attachments

(1 file)

When the GetElementById() was moved to the core DOM in DOM2, this "stopped working". This might actually be a regression to earlier builds, like NS6PR1, but I can't test right now. I can not connect to www.mozilla.org at all for some reason.
I am adding M16 and putting nsbeta2 keyword. This bug prevents, among other things, linking into #refs in XML documents.
Keywords: nsbeta2
Target Milestone: --- → M16
Whiteboard: Fix attached
Correction to my earlier comment. This does not prevent linking, because the code that scrolls to ref links calls the already implemented GetContentById(). This is bad however, because the code could treat all DOM documents uniformly (now it treats HTML and XML differently). See nsPresShell::GoToAnchor(). Is there a keyword/status to indicate parity problem between HTML and XML implementation of Core DOM? Because this is such an issue: this is DOM 2 Core function, we have implementation in HTML but not XML. Johnny, if you feel like you want to reassign this bug to me feel free...
I have plenty of bugs to work on, so here you are ;-) Thanks!
Assignee: jst → heikki
Status: NEW → ASSIGNED
Checked in a fix.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Component: DOM Level 2 → DOM HTML
Component: DOM: HTML → DOM: Core & HTML
QA Contact: vidur → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: