[Webkit-unassigned] [Bug 126061] New: Keyboard navigating (tab) a form field changes mysterious property to pull it into view.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 20 02:08:24 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=126061

           Summary: Keyboard navigating (tab) a form field changes
                    mysterious property to pull it into view.
           Product: WebKit
           Version: 523.x (Safari 3)
          Platform: Macintosh
               URL: http://jsfiddle.net/dNk9v/
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Event Handling
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: cuentanumerouno at hotmail.com


Live demo: http://jsfiddle.net/dNk9v/ 

1. navigate with keyboard between form fields (tab key)
2. try to anchor / fix some css/JS value to prevent the transition to be ruined
3. Remove the "overflow" property of the container, and it works fine.
4. Same transition works fine if no focus is involved (click the left tabs)
5. Remove CSS transitions and you won't notice it.

There's another bug, but that one is related to the scroll wheel.

In this case, the CSS transition (on click and on focus) is NOT aware that the browser ALREADY scrolled the form for the field to be revealed inside the container visible area, so the field ends up out of the visible area.

If the browser scrolled the top or margin-top properties, we could override it, but it just defeats the transition.

If that's on purpose as a security measure, to prevent malicious pages to make the user to click some hidden field, at least it should WAIT until transitions finish, before to decide to increment such a mysterious non-editable property. (the form moves with no control-able property) or does it? Is there any way to access that property/value/event with JS?

Could this be fixed by letting the transitions finish before to evaluate the need for moving the form field into view?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list