Closed Bug 4406 Opened 25 years ago Closed 25 years ago

Form images that are transparent GIFs lose transparency

Categories

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

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: elig, Assigned: kmcclusk)

References

()

Details

* TITLE/SUMMARY
Form elements that are transparent GIFs lose transparancy

* STEPS TO REPRODUCE
0) Launch Apprunner
1) View the test case at http://www.prometheus-music.com/gecko/goto2.html
(derived from www.goto.com)

* RESULT
 - What happened

The "FindIt" GIF lacks the yellow background of the page that it should have. If
you remove the INPUT TYPE=IMAGE and replace it with an "IMG" tag, the problem
goes away.)

This problem occurs irregardless of whether the GIF is within a table, or whether
the color is set by the table or by the page background.

 - What was expected

Image to retain transparancy despite being a form element.


* REGRESSION

 - Occurs On
        Mac OS Apprunner (3.29.99 optimized build)
        Win32 Apprunner (3.29.99 optimized build [NT 4, Service Pack 3])
        Linux Apprunner (3.29.99 optimized build)

 - Doesn't Occur On
        Communicator 4.5 (Mac OS RTM)
        Internet Explorer 5 (Win32 RTM)


* CONFIGURATIONS TESTED

- [Mac] Power Mac 8500/120 (233 Mhz 604e), 64 MB RAM (VM on; 1 MB of VM used),
1024x768 (Thousands of Colors), Mac OS 8.5.1

- [Win32] Vectra VL (233 Mhz P2), 96 MB RAM, 800x600 (True Color), NT 4.0 SP3.

- [Linux] Vectra VL (266 Mhz P2), 96 MB RAM.


* HTML SNIPPET

<HTML>
<BODY BGCOLOR="#FFCC00">
<FORM><INPUT TYPE=IMAGE SRC="1298-findit.gif" ALT="Find It" BORDER=0  WIDTH="44"
HEIGHT="44" BORDER="0" NAME="Find It"></FORM>
</BODY>
</HTML>
Eli's right. Using an image as a button to submit a form causes it to lose its
transparency. See http://schist/4406a.html for a very simple case (the image
appears twice: once as part of the form, and once in the body).
Assignee: karnaze → evaughan
This will only be supported for gfx buttons but it doesn't seem to work yet.
Reassigning to Eric.
Summary: Form images that are transparent GIFs lose transparancy → Form images that are transparent GIFs lose transparency
Priority: P3 → P4
Target Milestone: M6
setting p4 for m6
*** Bug 5124 has been marked as a duplicate of this bug. ***
*** Bug 4588 has been marked as a duplicate of this bug. ***
Assignee: evaughan → kmcclusk
I have no idea about this one. Input type="image" does not create a GFX button
so I have no control over its transparency. Not sure what is created.
Status: NEW → ASSIGNED
Target Milestone: M6 → M7
*** Bug 5822 has been marked as a duplicate of this bug. ***
Target Milestone: M7 → M8
Target Milestone: M8 → M9
*** Bug 9242 has been marked as a duplicate of this bug. ***
*** Bug 9239 has been marked as a duplicate of this bug. ***
Target Milestone: M9 → M10
Moving to M10
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Tried with Aug 26, 1999, 10:00 AM build on WIN32 using both viewer and
apprunner. The page appears exactly the same as in  Communicator 4.5 + Internet
Explorer 5. Resolving bug as fixed.
Fixed in the 1999082412 (final M9 candidate) builds. (I can still remember what
it looked like when it wasn't working.) I also checked on recent Mac OS and
Linux builds; both were OK.
Status: RESOLVED → VERIFIED
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.