Overview Description: Problem is caused by disabling of default browser action in "onmouseup" handler. There are two ways how do that: 1) Set return value of "onmouseup" handler to "false" (see Test case) 2) Call method event.preventDefault() (see Test case modification) Disabling of default action is affecting behavior of other events - but they couldn't be affected (try test case in Firefox). So that after mouseup isn't triggered "mousemove" event in this case. Steps to Reproduce: 1) Open test case in Safari (WebKit) 2) Move mouse up and down over text 3) Click on some text in testcase 4) Move mouse up and down over text Actual Results: When I moved mouse, items are not highlited. Expected Results: When I moved mouse, items will be highlited. Build Date & Platform: Build 2002-008-17 on Mac OS 10.4.7 Test case: <html> <script> function highlight(item) { item.style.backgroundColor = (item.style.backgroundColor == "red") ? '' : 'red'; } onmouseup = function() { return false; } </script> <body> <div onmouseover="highlight(this)" onmouseout="highlight(this)">Item1</div> <div onmouseover="highlight(this)" onmouseout="highlight(this)">Item2</div> <div onmouseover="highlight(this)" onmouseout="highlight(this)">Item3</div> <div onmouseover="highlight(this)" onmouseout="highlight(this)">Item4</div> </body> </html> Test case modification: onmouseup = function(event) { event.preventDefault(); }
Created attachment 10088 [details] Testcase
Build Date & Platform should be: Build 2006-08-17 on Mac OS 10.4.7
Created attachment 10119 [details] Testcase2
Created attachment 10120 [details] Testcase3 Try set return value to "false" in omousedown handler - when is set to "false", it will work correct.
Created attachment 10121 [details] Testcase2 Fix of bug in Textcase2 (missing variable event)
I cannot reproduce this issue with any of the attached tests (r23841).
Cannot reproduce issue. Webkit-r38386, Computer-G4 Powerbook, OS-OSX 10.5.5
Closing, because this was not reproducible.