Closed Bug 300364 Opened 20 years ago Closed 20 years ago

Disabled form elements are enabled/disabled differently on reload

Categories

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

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 277724

People

(Reporter: calle, Unassigned)

Details

(Keywords: testcase)

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; sv-SE; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; sv-SE; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Form elements that have the disabled property set have different disabled/enabled status if the document is reloaded. Reloads as enabled: Select Textarea Input type=button Reloads as disabled: Input type=text Input type=radio Input type=checkbox Reproducible: Always Steps to Reproduce: 1.Open attached file 2.Click the button labeled "toggle on/off" 3.Reload document Actual Results: The text-input, checkbox-input and radio-input are still disabled, the select, textarea and button-input are enabled. Expected Results: Either all enabled or all disabled. IE enables all.
Attached file Test case
Not sure, but this may be caused by the fix for bug 218297.
Assignee: nobody → general
Component: General → DOM: HTML
Keywords: testcase
Product: Firefox → Core
QA Contact: general → ian
Version: unspecified → 1.0 Branch
confirmed with linux seamonkey trunk 2005071102 testcase regressed between 1.6a and 1.6b, which is consistent with bug 218297
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Version: 1.0 Branch → Trunk
Attached patch patchSplinter Review
This seems to fix the bug.
Attachment #189561 - Flags: review?(bzbarsky)
Comment on attachment 189561 [details] [diff] [review] patch The real bug (which is on file, I believe) is that <select> and <textarea> don't persist their disabled state unlike <input>.... They should.
Attachment #189561 - Flags: review?(bzbarsky) → review-
Ok, then this is a duplicate of bug 277724. *** This bug has been marked as a duplicate of 277724 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Component: DOM: HTML → DOM: Core & HTML
QA Contact: ian → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: