If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

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

RESOLVED INVALID

Status

()

Core
MathML
RESOLVED INVALID
12 years ago
12 years ago

People

(Reporter: Jesse Ruderman, Assigned: rbs)

Tracking

({testcase})

Trunk
PowerPC
Mac OS X
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

12 years ago
getElementById() misses MathML elements whose ID was set by script.
(Reporter)

Comment 1

12 years ago
Created attachment 195498 [details]
testcase
(Reporter)

Updated

12 years ago
Summary: getElementById() misses MathML elements whose ID was set by script → getElementById() misses MathML elements whose IDs were set by script
(Assignee)

Comment 2

12 years ago
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
Last Resolved: 12 years ago
Resolution: --- → INVALID
(Reporter)

Comment 4

12 years ago
Created attachment 195688 [details]
similar testcase that uses setAttribute

Yep, using setAttribute to set the ID makes it work.
(Reporter)

Updated

12 years ago
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)
(Reporter)

Updated

12 years ago
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.