Closed Bug 229992 Opened 21 years ago Closed 20 years ago

Form button frame doesn't display correctly (repeatable and same each time) when name is changed by JS

Categories

(Camino Graveyard :: OS Integration, defect)

PowerPC
macOS
defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jswitte, Assigned: mikepinkerton)

Details

Attachments

(3 files, 2 obsolete files)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7a) Gecko/20031231 Camino/0.7+
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7a) Gecko/20031231 Camino/0.7+

In Ebay, after you enter a bid, when it asks you for your name and password,
after you click the "Submit" button, it is dimmed and changd to say "Please
Wait" (presumably by a JS).  When this happens (Camino 0.7+, build 2003123103),
the left part of the lower edge of the button fails to display after the name is
changed.  See attached picture.

OS info: MacOS 1.3.2 build 7d24, iBook dual usb 12-inch 384MB ram

Reproducible: Always

Steps to Reproduce:
1.  Go to Ebay's place bid page
2.  Entera bid. Go to next screen. Enter user/password combination (does not
have to be real.  Press "Place Bid" (this will NOT place a bid if the
information is false - it will just complain on the next screen)
3.  Watch.

Actual Results:  
Button changed, but displayed it's frame wrong (part of frame missing)

Expected Results:  
Displayed the frame correctly..

normal Camino theme (whatever is included in the nightlies)

Here is the complete HTML text of the page that causes the error (it will work
locally, although it needs a web connection to get to ebay's CGI scripts).  The
page is also on my website at http://www.bloomington.in.us/~jswitte/ebayError.html

  I believe that the part of the code creating the error is this:

function checkSurvey()
{  
    return false;
    if(document.all)
    return
popOutWindow("https://www.selfsurveys.com/rs.aspx?SID="+SIDQID+"=","500","400",true,Frequency);
 
}
//--></script><script language="JavaScript"><!-- 
function initFocus() {
document.PlaceBid.elements[0].focus();
}
//--></script><script language="JavaScript"><!--
function Localize(pStr){return pStr;}

var ProcessingText = Localize("Please Wait...");
var cnt=0;
function doValidate(f){
f.BIN_button.value=ProcessingText;
f.BIN_button.disabled=true;
if (cnt==0)f.submit();
cnt++;
}

  specifically the third from the last line (f.BIN_button.disabled=TRUE) and the
line before that changing the name.  I don't know what script this bit of JS is
part of (perhaps checkSurvey itself), which is called by the onUnload handler.

Jim

-- complete page source follows --
<html>
<head>
<!--eBay V3- msxml 4.0 XXXXXXXXXXXXXXXXXXXXXXXXXX-->
<!--srcId: BidVerify-->
<title>eBay.com Review and Confirm Bid (Ends Jan-04-04 19:17:15 PST)
2777013513</title><script language="JavaScript"><!-- 
var pageName = "PageMakeBid";
var server = "location.hostname.toLowerCase()"
var channel = "eBay";
//--></script><script
src="http://include.ebaystatic.com/aw/pics/js/popout/promo_popout_mediaplex.js"></script><script
language="JavaScript">
    var SIDQID = '1225&T12939';
    var Frequency = '1';
</script><script language="JavaScript"><!--
function checkSurvey()
{  
    return false;
    if(document.all)
    return
popOutWindow("https://www.selfsurveys.com/rs.aspx?SID="+SIDQID+"=","500","400",true,Frequency);
 
}
//--></script><script language="JavaScript"><!-- 
function initFocus() {
document.PlaceBid.elements[0].focus();
}
//--></script><script language="JavaScript"><!--
function Localize(pStr){return pStr;}

var ProcessingText = Localize("Please Wait...");
var cnt=0;
function doValidate(f){
f.BIN_button.value=ProcessingText;
f.BIN_button.disabled=true;
if (cnt==0)f.submit();
cnt++;
}
//--></script></head>
<body bgcolor="#ffffff" onUnload="checkSurvey();"><!--Header code
starts--><script
src="http://include.ebaystatic.com/aw/pics/js/poweredby/poweredby.js"></script><script
src="http://include.ebaystatic.com/aw/pics/js/help/openHelpWindow.js"></script><script
src="http://include.ebaystatic.com/aw/pics/js/globals.js"></script><script
type="text/javascript" language="JavaScript1.1">

			includeHost = 'http://include.ebaystatic.com/';

		</script><script
src="http://include.ebaystatic.com/aw/pics/js/cookies.js"></script><script
src="http://include.ebaystatic.com/aw/pics/js/common_functions.js"></script><script
src="http://include.ebaystatic.com/aw/pics/js/cobrand/cobrand_determine.js"></script><script
src="http://include.ebaystatic.com/aw/pics/js/cobrand/cobrand_load.js"></script><script
type="text/javascript" language="JavaScript1.1">

			typeof(writeCBHeader)!= "undefined"?writeCBHeader():'';

		</script><table border="0" cellspacing="0" cellpadding="0"
bgcolor="#FFFFFF"><tr><td><img
src="http://pics.ebaystatic.com/aw/pics/spacer.gif" width="180"
height="1"></td></tr><tr><td><script type="text/javascript"
language="JavaScript1.1">						

						typeof(writeCBBrow)!="undefined"?writeCBBrow():false;

					</script><a href="http://pages.ebay.com/"><img
src="http://pics.ebaystatic.com/aw/pics/register/HeaderRegister_387x40.gif"
alt="From collectibles to cars, buy and sell all kinds of items on eBay"
border="0"></a></td></tr></table><!--Header code ends--><table border="0"
cellpadding="0" cellspacing="0" width="100%">

<tr>
<td colspan="3"><img src="http://pics.ebaystatic.com/aw/pics/spacer.gif"
width="1" height="5" alt=" "></td>
</tr>
<tr>
<td colspan="3" bgcolor="#ffcc00"><img
src="http://pics.ebaystatic.com/aw/pics/spacer.gif" width="1" height="2" alt="
"></td>
</tr>
<tr bgcolor="#FFE580">
<td align="left"><img
src="http://pics.ebaystatic.com/aw/pics/sitewide/leftLine_16x3.gif" width="16"
height="3" align="middle" alt=" "></td>
<td align="left"><img src="http://pics.ebaystatic.com/aw/pics/spacer.gif"
width="5" height="1" alt=" "></td>
<td width="99%" align="left" valign="middle">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td nowrap align="left" valign="middle">
<font face="Arial, Helvetica, sans-serif" size="3"><b>Submit Your Bid</b></font>
</td>
</tr>

</table>
</td>
</tr>
<tr>
<td colspan="3" bgcolor="#ffcc00"><img
src="http://pics.ebaystatic.com/aw/pics/spacer.gif" width="1" height="2" alt="
"></td>
</tr>
<tr bgcolor="#ffffcc">
<td colspan="3" width="100%">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left"><img src="http://pics.ebaystatic.com/aw/pics/spacer.gif"
width="8" height="1"></td>
<td width="100%" align="left">
<font face="Arial, Helvetica, sans-serif" size="2">Graphite Airport Base Station
(Not Working)</font>
</td>
</tr>
</table>

</td>
</tr>
<tr>
<td colspan="3" bgcolor="#cccccc"><img
src="http://pics.ebaystatic.com/aw/pics/spacer.gif" width="1" height="1" alt="
"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="http://pics.ebaystatic.com/aw/pics/spacer.gif" width="8"
height="1" border="0" alt=" "></td>
<td align="left" valign="top" nowrap>
<font face="Arial, Helvetica, sans-serif" size="3"><b>New to eBay?</b></font>
</td>
</tr>

</table>
</td>
<td valign="top" colspan="3"><img
src="http://pics.ebaystatic.com/aw/pics/register/or_60x23.gif" width="60"
height="23" alt=" "></td>
<td valign="top" align="left">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="http://pics.ebaystatic.com/aw/pics/spacer.gif" width="8"
height="1" border="0" alt=" "></td>
<td align="left" valign="top" nowrap>
<font face="Arial, Helvetica, sans-serif" size="3"><b>Already an eBay
user?</b></font>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top">

<form method="post" action="https://scgi.ebay.com/saw-cgi/eBayISAPI.dll"
name="RegisterEnterInfo"><input type="hidden" name="MfcISAPICommand"
value="RegisterEnterInfo"><input type="hidden" name="itemid"
value="2777013513"><input type="hidden" name="siteId" value="0"><input
type="hidden" name="co_partnerId" value=""><input type="hidden" name="maxbid"
value="US $6.52"><input type="hidden" name="bidqty" value="1"><input
type="hidden" name="uachoice" value=""><input type="hidden" name="bin"
value="1"><table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><img src="http://pics.ebaystatic.com/aw/pics/spacer.gif" width="8"
height="1"></td>
<td align="left">
<font face="Arial, Helvetica, sans-serif" size="2">
If you want to bid on this item, you'll need to register first.
</font>
</td>
</tr>
<tr>
<td colspan="2"><img src="http://pics.ebaystatic.com/aw/pics/spacer.gif"
width="1" height="8"></td>
</tr>
<tr>
<td></td>
<td align="left">
<font face="Arial, Helvetica, sans-serif" size="2">
Registration is fast and free.

</font>
</td>
</tr>
<tr>
<td colspan="2"><img src="http://pics.ebaystatic.com/aw/pics/spacer.gif"
width="1" height="8"></td>
</tr>
<tr>
<td></td>
<td><input type="submit" value="Register >"></td>
</tr>
</table>
</form>
</td>
<td><img src="http://pics.ebaystatic.com/aw/pics/spacer.gif" width="30"
height="1" border="0" alt=" "></td>
<td valign="top" align="center" bgcolor="#cccccc" width="1"><img
src="http://pics.ebaystatic.com/aw/pics/spacer.gif" width="1" height="1"
border="0" alt=" "></td>
<td><img src="http://pics.ebaystatic.com/aw/pics/spacer.gif" width="29"
height="1" border="0" alt=" "></td>
<td colspan="2" valign="top">

<form method="post" name="PlaceBid" onSubmit="doValidate(this);return false;"
action="http://signin.ebay.com/aw-cgi/eBayISAPI.dll"><input type="hidden"
name="MfcISAPICommand" value="SignInWelcome"><input type="hidden" name="siteid"
value="0"><input type="hidden" name="co_partnerId" value="2"><input
type="hidden" name="UsingSSL" value="0"><input type="hidden" name="ru"
value="http://offer.ebay.com/ws/eBayISAPI.dll?MakeBid&amp;item=2777013513&amp;key=$2$39250758$.70stYiQ64bSoRf2O2zq10&amp;quant=1&amp;user=&amp;maxbid=6.52&amp;mode=1&amp;BidBinInfo=<bidInfo><ID>2777013513</ID><IT>Graphite
Airport Base Station (Not Working)</IT><ET>Jan-04-0419:17:15 PST</ET><MB>US
$6.52</MB><QTY>1</QTY><KEY>$2$39250758$.70stYiQ64bSoRf2O2zq10</KEY><saleType>1</saleType><Value>652</Value></bidInfo>"><input
type="hidden" name="pp" value="pass"><input type="hidden" name="pa1"
value=""><input type="hidden" name="pa2" value=""><input type="hidden"
name="pa3" value=""><input type="hidden" name="i1" value="-1"><input
type="hidden" name="pageType" value="1831"><input type="hidden" name="mode"
value="1"><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left"><img src="http://pics.ebaystatic.com/aw/pics/spacer.gif"
width="8" height="1"></td>
<td width="10%"><img src="http://pics.ebaystatic.com/aw/pics/spacer.gif"
width="1" height="1" alt=" "></td>
<td width="5%"><img src="http://pics.ebaystatic.com/aw/pics/spacer.gif"
width="1" height="1" alt=" "></td>
<td width="85%"><img src="http://pics.ebaystatic.com/aw/pics/spacer.gif"
width="1" height="1" alt=" "></td>
</tr>
<tr>
<td></td>
<td colspan="3" align="left">
<font face="Arial, Helvetica, sans-serif" size="2">
Review your bid and then click the <b>Submit</b> button.
</font>
</td>

</tr>
<tr>
<td colspan="4"><img src="http://pics.ebaystatic.com/aw/pics/spacer.gif"
width="1" height="8"></td>
</tr>
<tr>
<td></td>
<td valign="top" nowrap>
<font face="Arial, Helvetica, sans-serif" size="2">
Your maximum bid:
</font>
</td>
<td valign="top" nowrap><img src="http://pics.ebaystatic.com/aw/pics/spacer.gif"
width="8" height="1"><b><font face="Arial, Helvetica, sans-serif" size="2">US
$6.52</font></b></td>
<td></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">

<tr>
<td align="left"><img src="http://pics.ebaystatic.com/aw/pics/spacer.gif"
width="8" height="1"></td>
<td align="left" width="100%"><b><font face="Arial, Helvetica, sans-serif" size="2">
eBay User ID
</font></b><br><input type="text" size="30" maxlength="64" tabindex="1"
name="userid"><br><font face="Verdana, Helvetica, Arial, sans-serif" size="1"
color="#666666"><A
HREF="http://cgi3.ebay.com/aw-cgi/eBayISAPI.dll?UserIdRecognizerShow">Forgot</A>
your User ID?
</font>
</td>
</tr>
<tr>
<td colspan="2"><img src="http://pics.ebaystatic.com/aw/pics/spacer.gif"
width="1" height="8"></td>
</tr>
<tr>
<td></td>
<td><b><font face="Arial, Helvetica, sans-serif" size="2" color="#000000">
Password

</font></b><br><input type="password" name="pass" size="30" maxlength="63"
value="" tabindex="2"><br><font face="Verdana, Helvetica, Arial, sans-serif"
size="1" color="#666666"><a
href="http://pages.ebay.com/services/registration/reqpass.html">Forgot</a> your
password?
</font>
</td>
</tr>
<tr>
<td colspan="2"><img src="http://pics.ebaystatic.com/aw/pics/spacer.gif"
width="1" height="8"></td>
</tr>
<tr>
<td colspan="2"><img src="http://pics.ebaystatic.com/aw/pics/spacer.gif"
width="1" height="8"></td>
</tr>
<tr>
<td></td>
<td valign="top"><input type="submit" name="BIN_button" value="Submit"
tabindex="5"></td>
</tr>
<tr>

<td colspan="2"><img src="http://pics.ebaystatic.com/aw/pics/spacer.gif"
width="1" height="8"></td>
</tr>
<tr>
<td></td>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="600">
<tr>
<td>
<font face="Verdana, Helvetica, Arial, sans-serif" size="1"><b>Your bid is a
contract</b> - Place a bid only if you're serious about buying the item. If you
are the winning bidder, you will enter into a legally binding contract to
purchase the item from the seller. You should contact the seller to resolve any
questions before bidding. 
<p>Seller assumes all responsibility for listing this item.</p>
</font>
</td>
</tr>
</table>

</td>
</tr>
</table>
</form>
</td>
</tr>
<tr>
<td colspan="5"><br><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left"><img src="http://pics.ebaystatic.com/aw/pics/spacer.gif"
width="3" height="1" alt=" "></td>
<td width="100%" bgcolor="#cccccc"><img
src="http://pics.ebaystatic.com/aw/pics/spacer.gif" width="1" height="1" alt="
"></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left"><img src="http://pics.ebaystatic.com/aw/pics/spacer.gif"
width="8" height="1"></td>
<td align="left" width="100%">

<font face="Verdana, Helvetica, Arial, sans-serif" size="1">
You can also register or sign in using the following service:
</font>
</td>
</tr>
<tr>
<td colspan="2"><img src="http://pics.ebaystatic.com/aw/pics/spacer.gif"
width="1" height="8"></td>
</tr>
<tr>
<td></td>
<td align="left" width="100%"><a
href="http://cgi3.ebay.com/aw-cgi/eBayISAPI.dll?PassportSignInShow&amp;usage=1081&amp;finalURL=http%3A%2F%2Foffer.ebay.com%2Fws%2FeBayISAPI.dll%3FMakeBid%26item%3D2777013513%26maxbid%3D6.52%26quant%3D&amp;pt=167"><img
src="http://pics.ebaystatic.com/aw/pics/msn/signin_ebay.gif" border="0"
width="100" height="26" alt=" "></a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="7" height="2"><img
src="http://pics.ebaystatic.com/aw/pics/spacer.gif" width="2" height="2" alt="
"></td>

</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr><td height="25"></td></tr>
<tr>
<td bgcolor="#ffcc00" height="2"><img
src="http://pics.ebaystatic.com/aw/pics/spacer.gif" width="2" height="2" alt="
"></td>
</tr>
</table><SCRIPT
SRC="http://include.ebaystatic.com/aw/pics/js/stats/ss.js"></SCRIPT><SCRIPT
SRC="http://include.ebaystatic.com/aw/pics/js/stats/ss2.js"></SCRIPT><p>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="600">
<TR>
<TD COLSPAN="2"><br></TD>
</TR>
<TR>
<TD WIDTH="450" HEIGHT="31" VALIGN="top" ALIGN="left">
<font size="1" face="Arial, Verdana, Helvetica, sans-serif">Copyright ©
1995-2003 eBay Inc. All Rights Reserved.<br>Designated trademarks and brands are
the property of their respective owners.<br>Use of this Web site constitutes
acceptance of the eBay <a
href="http://pages.ebay.com/help/policies/user-agreement.html" target="helpwin"
onclick="return openHelpWindow(this.href);">User Agreement</a> and <a
href="http://pages.ebay.com/help/policies/privacy-policy.html" target="helpwin"
onclick="return openHelpWindow(this.href);">Privacy Policy</a>.</font><br></TD>

<TD WIDTH="150" HEIGHT="31" VALIGN="top" ALIGN="right">
<font face="Arial, Verdana, Helvetica, sans-serif" size="1"><a
href="http://pages.ebay.com/help/policies/privacy-policy.html" target="helpwin"
onclick="return openHelpWindow(this.href);"><img
src="http://pics.ebaystatic.com/aw/pics/truste_button.gif" align="middle"
width="116" height="31" ALT="TrustE" border="0"></a></font>
</TD>
</TR>
</TABLE>
</p><SCRIPT LANGUAGE="JavaScript"><!-- 
var cbc, cbf;
if (cbc){
	writeFooter();
	if (cbf){
		fullCB();
	}
}
//--></SCRIPT></body>
</html>
Jim, next time you have a file that accompanies your bug please attach it
instead of putting it in the bug.

Anyway I had a look and i can't reproduce your bug. The button draws just fine
for me.
the page referenced no longer exists on the server. can someone attach a
testcase? jasper, did it work for you because you have that css patch applied?
No I tested this with a fresh copy of Camino.

Here is he file he refers to.
Attachment #138474 - Attachment mime type: text/plain → text/html
it worked for me once, then not again. is that what you guys see?
Perhaps this issue is also caused by the lack of margins around buttuns, causing
borders of buttons diappearing sometimes. If you look close enough at the
buttons in the testcase in Bug 228499 when clicking on them or hovering above
them you will notice that some buttons bottom borders disappear. 

Or perhaps it's not the same issue. Does anyone have a screen grab?
Hope this is a relevant example of this bug
Hope this is a relevant example of this bug
Attachment #149622 - Attachment is obsolete: true
Shoes the mis-alignment of end form button
Attachment #149621 - Attachment is obsolete: true
I couldn't relate the image attached to the test case file. From the description
given the dimming of the button and changing the text appears to work (as per
Pinkerton's comment #4) and no obvious glitches in other parts of the screen.

Will resolve as WorksForMe unless someone can provide more information on
exactly what I should be looking at, and ideally a reduced test case.
Mac OS X 10.3.5, Camino 2004101408 (v0.8+), cab't reproduce the problem, as seen in the screenshot 
attached, everything displays just fine!
WFM using 2004101408 (v0.8+) NB on 10.3.5, as the last comments all indicate
it's no longer reproducable.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: