The code below shows a submit button.
When pressed the button moves to the left (on Mozilla 1.5/1.6 and Firebird 0.7, Win2K).
As a concequence the submit will fail if the button is pressed on the right side,
but succeed if pressed on the left. (the possition on mouse-release seems to be what counts).


Of course the below code has an inconsistency, since the width of the columns (100 + 400)
is not equal to the width of the table (700). And correcting this cures the problem.
On the other hand, I would have expected the inconsistency to be handled in the same
manner before and after a mouse-down event.


Removing the 'overflow: auto;' also cures the problem.

So, is this to be considered a bug ?
Should I report it, or has it already been discused hundreds of times ?
(I didn't find it in bugzilla, but then I'm not used to searching there)

Erik.

--- sample code follows ---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
   <style>
   .Content
       {
       overflow: auto;
       }
   </style>
</head>
<body>
<table width="700">
   <tr>
       <td width="100">
       </td>
       <td width="400">
           <div class="Content">
               <form name="test" action="foo.html">
                   <input type="submit" name="submit" value="submit">
               </form>
           </div>
       </td>
   </tr>
</table>
</body>
</html>
_______________________________________________
mozilla-layout mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-layout

Reply via email to