Closed Bug 1415 Opened 26 years ago Closed 26 years ago

Incorrect handling of the title object's set/get text attribute.

Categories

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

All
Linux
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: sdm, Assigned: vidur)

References

()

Details

Using setAttribute("TEXT","new title") to set a document's title does not work. Using document.title to set a document's title does work, but querying this new title using getAttribute("TEXT") returns the old value.
Status: NEW → ASSIGNED
Setting all current Open/Normal to M4.
per leger, assigning QA contacts to all open bugs without QA contacts according to list at http://bugzilla.mozilla.org/describecomponents.cgi?product=Browser
QA Contact: 4015 → 4120
QA contact re-assigned according to the product areas we're currently working on.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
The "text" attribute of the HTMLTitleElement interface is a synthetic attribute. Specifically, it does not correspond to a HTML attribute. Hence, get/setAttribute will not work for this attribute. Try title.text instead.
Status: RESOLVED → VERIFIED
Verified fixed in 041999 build for RedHatLinux 5.2.
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.