I'm wondering if anyone else has seen this issue. Basically, multi-select boxes 
in Camino that are on top of a colored background have that color bleeding 
through the select box itself. I've found no way to change the behavior, other 
than doing something stupid like placing a white colored div behind the select 
directly. The code is really simple, and it's reproducible with tables with no 
css content. Here's an online version:

        <http://adam2.omnipilot.com/selectbleed.html>

The source is as follows:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd";>
<html>
        <head>
                <title>Select Bleed</title>
                <style type="text/css" media="screen">
                        body { font-family: verdana, sans-serif; font-size: 
11px; }

                        div.first
                        {
                                border: 1px solid #000;
                                background: #ccc;
                                width: 200px;
                                margin: 0 0 5px 0;
                                padding: 5px;
                        }

                        div.first select
                        {
                                margin: 0;
                                width: 200px;
                        }

                        div.second
                        {
                                border: 1px solid #000;
                                background: #ccc;
                                width: 200px;
                                margin: 0 0 5px 0;
                                padding: 5px;
                        }

                        div.second select
                        {
                                background: white;
                                margin: 0;
                                width: 200px;
                        }

                        table
                        {
                                border: 1px solid #000;
                        }

                        table select
                        {
                                margin: 0; width: 200px;
                        }
                </style>
        </head>
        <body>

                <p>&lt;DIV&gt;: No background specified on &lt;SELECT&gt;</p>

                <div class="first">
                        <form>
                                <select multiple size=3>
                                        <option>one</option>
                                        <option>two</option>
                                        <option>three</option>
                                </select>
                        </form>
                </div>

                <p>&lt;DIV&gt;: White background specified on &lt;SELECT&gt;</p>

                <div class="second">
                        <form>
                                <select multiple size=3>
                                        <option>one</option>
                                        <option>two</option>
                                        <option>three</option>
                                </select>
                        </form>
                </div>

                <p>&lt;TABLE&gt;: No background specified on &lt;SELECT&gt;</p>

                <table border=0 cellpadding=5 cellspacing=0>
                        <tr>
                                <td bgcolor="#cccccc">
                                        <form>
                                                <select multiple size=3>
                                                        <option>one</option>
                                                        <option>two</option>
                                                        <option>three</option>
                                                </select>
                                        </form>
                                </td>
                        </tr>
                </table>

        </body>
</html>

Sorry, I don't have time to hit bugzilla.

Adam.

--
-----------------------------------------------------------------------
Adam Randall                                       http://www.xaren.net
[EMAIL PROTECTED]                                   AIM/iChat:  blitz574
[EMAIL PROTECTED]

"Macintosh users are a special case. They care passionately about the
Mac OS and would rewire their own bodies to run on Mac OS X if such a
thing were possible." -- Peter H. Lewis
_______________________________________________
Camino mailing list
[email protected]
http://mozdev.org/mailman/listinfo/camino

Reply via email to