Closed Bug 271378 Opened 20 years ago Closed 20 years ago

Input Image never shows the image

Categories

(Core :: Layout: Form Controls, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: mozilla.org, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

Our framework creates an input image similiar to the following:

<input type="image" name="" id="" value="Upload Photo" accesskey="" 
src="/images/but-upload-photo.gif"  class="" style="">

This normally works, but when it is placed on the same page as the following
button, it fails:

<input type="image" name="photo[button][update][37]"
id="photo[button][update][37]" value="Update" accesskey=""
src="/images/but-update-small.gif" class="" style="">

It seems that theo [ and ] symbols in the name are breaking the widget.

When I visit /images/but-update-small.gif in the browser, and go back to the
page, the buttons now show up.

Reproducible: Sometimes
Steps to Reproduce:
please attach a testcase, start by attaching any images required, then fix up
the html to reference the images @ bugzilla.mozilla.org, then attach the html.
Assignee: jag → nobody
Component: XP Toolkit/Widgets → Layout: Form Controls
QA Contact: jrgmorrison → core.layout.form-controls
Eric?  Any chance of attaching the testcase timeless asked for?  I can't
reproduce this problem with a testcase here (which I will attach).
Attached file Testcase
Unfortunately, I am unable to reproduce this reliably with any case, either a
strict test-case or in our production environments. I am tempted to believe it
is a problem with the cache, though, as emptying the cache solves the problem
entirely for a time. Closing.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: