mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-24 15:35:52 +00:00
Remove a few IE bugs.
This commit is contained in:
1 parent
742df0df82
commit
a3a03d702c
2 files changed
+8
-9
No files matched your search
@@ -312,7 +312,6 @@ function CGContextDrawLinearGradient(aContext, aGradient, aStartPoint, anEndPoin
|
||||
}
|
||||
|
||||
aContext.gState.gradient = vml.join("");
|
||||
console.log(vml.join(""));
|
||||
|
||||
// if (aContext.buffer != nil)
|
||||
// aContext.buffer += vml.join("");
|
||||
|
||||
@@ -294,16 +294,16 @@ var supportsNativeDragAndDrop = [CPPlatform supportsDragAndDrop];
|
||||
[self updateFromNativeContentRect];
|
||||
[self _removeLayers];
|
||||
|
||||
theDocument.removeEvent("onmouseup", mouseEventCallback);
|
||||
theDocument.removeEvent("onmousedown", mouseEventCallback);
|
||||
theDocument.removeEvent("onmousemove", mouseEventCallback);
|
||||
theDocument.removeEvent("ondblclick", mouseEventCallback);
|
||||
theDocument.detachEvent("onmouseup", mouseEventCallback);
|
||||
theDocument.detachEvent("onmousedown", mouseEventCallback);
|
||||
theDocument.detachEvent("onmousemove", mouseEventCallback);
|
||||
theDocument.detachEvent("ondblclick", mouseEventCallback);
|
||||
|
||||
theDocument.removeEvent("onkeyup", keyEventCallback);
|
||||
theDocument.removeEvent("onkeydown", keyEventCallback);
|
||||
theDocument.removeEvent("onkeypress", keyEventCallback);
|
||||
theDocument.detachEvent("onkeyup", keyEventCallback);
|
||||
theDocument.detachEvent("onkeydown", keyEventCallback);
|
||||
theDocument.detachEvent("onkeypress", keyEventCallback);
|
||||
|
||||
_DOMWindow.removeEvent("onresize", resizeEventCallback);
|
||||
_DOMWindow.detachEvent("onresize", resizeEventCallback);
|
||||
|
||||
_DOMWindow.onmousewheel = NULL;
|
||||
theDocument.onmousewheel = NULL;
|
||||
|
||||
Reference in new issue
Block a user