Closed Bug 329376 Opened 18 years ago Closed 18 years ago

upload control doesn't properly handle relevant and readonly MIPs

Categories

(Core Graveyard :: XForms, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: aaronr, Assigned: aaronr)

References

Details

Attachments

(1 file)

2.73 KB, application/xhtml+xml
Details
good starter bug

If it is supposed to be readonly, upload control doesn't initialize to readonly.  However, it will properly handle readonly after it is refreshed by user interaction.

Upload doesn't handle relevancy at all.

I'm guessing that it has to do with how it sets the intrinsic states during nsXFormsUploadElement::refresh.  It never takes into account the other intrinsic states.
Attached file testcase
I was sure I filed a bug for this one... surkov also hit that not too long ago.
(In reply to comment #0)
> I'm guessing that it has to do with how it sets the intrinsic states during
> nsXFormsUploadElement::refresh.  It never takes into account the other
> intrinsic states.

Yes, it just sets enabled/disabled, and ignores everything else. Can be fixed as part of bug 313313.
Might as well do a quick fix to make sure it is ready for 0.5.  Don't know if bug 313313 will be done by 0.5.  Reassigning to sspeiche.
Assignee: aaronr → sspeiche
Whiteboard: [good first bug]
Depends on: 313118
With the mAppearDisabled from bug 313118, this should hopefully be fairly easy to fix. Fixing bug 313313 meanwhile might be easiest, but I'm not sure.
I started working on bug 313313, so I'll fix this one while I am in there.
Assignee: sspeiche → aaronr
Status: NEW → ASSIGNED
made a small error in my patch for bug 313313.  Corrected error as part of patch for bug 331984, which should fix this bug, too.
Depends on: 331984
(In reply to comment #6)
> made a small error in my patch for bug 313313.  Corrected error as part of
> patch for bug 331984, which should fix this bug, too.
> 

Testcase works fine. So I guess too bug is fixed.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Whiteboard: [good first bug]
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: