Closed Bug 307822 Opened 19 years ago Closed 19 years ago

id property for MathML elements does not map to id attribute (was: getElementById() misses MathML elements whose IDs were set by script)

Categories

(Core :: MathML, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: jruderman, Assigned: rbs)

Details

(Keywords: testcase)

Attachments

(2 files)

getElementById() misses MathML elements whose ID was set by script.
Attached file testcase
Summary: getElementById() misses MathML elements whose ID was set by script → getElementById() misses MathML elements whose IDs were set by script
bz, what's up with this getElementById() thing?
You're not setting the "id" attribute, and MathML elements have no special ID
property.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Yep, using setAttribute to set the ID makes it work.
Summary: getElementById() misses MathML elements whose IDs were set by script → id property for MathML elements does not map to id attribite (was: getElementById() misses MathML elements whose IDs were set by script)
Summary: id property for MathML elements does not map to id attribite (was: getElementById() misses MathML elements whose IDs were set by script) → id property for MathML elements does not map to id attribute (was: getElementById() misses MathML elements whose IDs were set by script)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: