[Webkit-unassigned] [Bug 14495] New: Wrong cursor is displayed during drag and drop when text is selected
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jul 2 03:37:01 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=14495
Summary: Wrong cursor is displayed during drag and drop when text
is selected
Product: WebKit
Version: 522+ (nightly)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: mjuhos at kerio.com
Overview Description: Wrong cursor is displayed during drag and drop when text
is selected
Steps to Reproduce:
1) Open test case
2) Select text in yellow box
3) Move using drag'n'drop blue box
Actual Results:
Text cursor is displayed as mouse cursor.
Expected Results:
Mouse cursor will be "default" thus arrow
Build Date & Platform:
WebKit r23922 on WinXP
Safari 3.0 (5222.8.3) on Mac OS 10.5. (9A466)
Additional Information:
On Safari 2.0.4 (419.3) test case works correctly.
Test case:
<html>
<style>
* {
cursor:default;
}
div {
position:absolute;
width:100px;
height:100px;
}
</style>
<script>
var allowMove = false;
var movable;
onload = function() {
movable = document.getElementById('movable');
movable.onmousedown = function() {
allowMove = true;
return false;
}
}
onmouseup = function(event) {allowMove = false;}
onmousemove = function(event) {
if (allowMove) {
movable.style.top = event.clientY + 10 + 'px';
movable.style.left = event.clientX + 10 + 'px';
}
}
</script>
<body>
<div style="background-color:blue;left:100px;position:absolute"
id="movable"></div>
<div style="background-color:yellow;left:300px;">Select me</div>
</body>
</html>
--
Configure bugmail: http://bugs.webkit.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