Closed
Bug 35319
Opened 25 years ago
Closed 25 years ago
button.getAttribute('disabled') returns no value
Categories
(Core :: DOM: Core & HTML, defect, P3)
Core
DOM: Core & HTML
Tracking
()
VERIFIED
FIXED
M16
People
(Reporter: myk, Assigned: jst)
Details
(Whiteboard: [nsbeta2+])
Attachments
(1 file)
|
1.42 KB,
text/html
|
Details |
Overview Description:
The DOM method "getAttribute," when used on a BUTTON element to retrieve the
value of the BUTTON's attribute "disabled," returns nothing.
For example, given a button like this:
<button id="foo">Foo</button>
The following statement returns an empty dialog box instead of a dialog box with
the word "false":
alert(document.getElementById('foo').getAttribute('disabled'));
To reproduce, load test case and click on second big button.
Actual Results: empty dialog box
Expected Results: dialog box with the word "false" in it
Build Date & Platform Bug Found: Linux 2000-04-09-09
Additional Builds and Platforms Tested On: none
| Reporter | ||
Comment 1•25 years ago
|
||
Comment 2•25 years ago
|
||
reproduced on Mac, win98 and win2k. setting OS and platform to All as I believe
this to be a cross-platform bug, though testing on further OS and platforms
would be helpful
OS: Linux → All
Hardware: PC → All
Comment 3•25 years ago
|
||
nominating for nsbeta2 based on:
- visibility
- feature (DOM Level 1 Standards Compliance) broken
Keywords: nsbeta2
| Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → M16
| Assignee | ||
Comment 5•25 years ago
|
||
IMO mozilla did the right thing as far as the DOM Level 1 & 2 specs go, but we
broke compatibility with other browsers. This is now fixed.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 6•25 years ago
|
||
Marking VERIFED FIXED on:
- MacOS9 2000-05-23-12-M16 Commercial Build
- Linux6 2000-05-23-10-M16 Commercial Build
- Win95 2000-05-23-10-M16 Commercial Build
Status: RESOLVED → VERIFIED
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•