[Webkit-unassigned] [Bug 10508] New: Form controls doesn't work when mousedown event is canceled

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Tue Aug 22 02:26:27 PDT 2006


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

           Summary: Form controls doesn't work when mousedown event is
                    canceled
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh PowerPC
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: mjuhos at kerio.com
                CC: pdousa at kerio.com


Overview Description: 
Form controls (radio buttons, checkboxes, selects, texboxes) doesn't work
correctly when mousedown event is canceled. Canceling of mousedown couldn't
affect these controls.
In other browsers (e.g. Firefox or IE) testcase works fine. 

Steps to Reproduce:
Open text case and 
1) Try select from select
2) Try select radio button
3) Try check checkbox
4) Try select text from text box
5) Try choose file

Actual Results:
Nothing works in Safari 2.0.4 (4.19.3)
Radio buttons and Checkboxes works only (WebKit Build 2006-08-17 on Mac OS
10.4.7)

Expected Results: 
1) Select will be unwrapped
2) Radio button will be selected
3) Checkbox will be checked
4) Text will be selected
5) Dialog selecting file will be opened

Build Date & Platform: 
Build 2006-08-17 on Mac OS 10.4.7

Testcase:
<html>
    <script>
        onmousedown = function(e) {
            e.preventDefault();
        }
    </script>
    <body>
        <select>
            <option>first</option>
            <option>second</option>
        </select><br>
        <input type="radio" name="radioButtons">Item1<br>
        <input type="radio" name="radioButtons">Item2<br>
        <input type="checkbox" >Check<br>
        <input type="text" value="select me"><br>
        <input type="file"><br>
    </body>
</html>


-- 
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