[Webkit-unassigned] [Bug 7405] New: REGRESSION: password field should have focus after loading webmail.mac.com

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Tue Feb 21 11:01:21 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=7405

           Summary: REGRESSION: password field should have focus after
                    loading webmail.mac.com
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
               URL: http://webmail.mac.com
        OS/Version: Mac OS X 10.0
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: vicki at apple.com


This bug is also in Radar as <rdar://4422657>

Go to webmail.mac.com.  After the page loads, the password field on this page
should have focus.

Works in Safari on 10.4.4.

-------------------------------------------

<GMT26-Jan-2006 07:45:11GMT> Vicki Murley:
Crash reported in 4422624.

<GMT26-Jan-2006 19:32:45GMT> Adele Peterson:
Our new focus() code uses isFocusable() to determine whether or not to try to
focus.  At the load time, there isn't a renderer for the input element, so
isFocusable() fails.  Luckily, this works fine with our new text fields- so
this problem should go away when we switch over.

<GMT26-Jan-2006 19:50:55GMT> Vicki Murley:
One important thing to know when testing this fix -
If i load the page, see it fail, close the window, load the page again -- it
works.  The password field has focus.  This only fails the first time you
launch Safari (maybe also after waiting a bit of time btwn tests).  

<GMT26-Jan-2006 22:53:39GMT> Adele Peterson:
I realized that my earlier test was wrong.  I think the reason there isn't a
renderer is that the style sheet hasn't loaded yet.

<GMT26-Jan-2006 22:54:42GMT> Adele Peterson:
We used to not care about the renderer, since we'd just set the focus node, and
then when the element's widget got focus, it would run some code to reveal the
element.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list