aboutsummaryrefslogtreecommitdiffstats
path: root/src/support.js
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2013-01-02 21:25:49 -0500
committerDave Methvin <dave.methvin@gmail.com>2013-01-03 20:55:59 -0500
commitcef3450228f53a1facfbed2be77050e61ee6a178 (patch)
treeb86021346184a2e6ea6cf2d872ff3702b7a7cf99 /src/support.js
parent4ee1b03c54ff8c8f5cfd983aeaa13bbba212ffe3 (diff)
downloadjquery-cef3450228f53a1facfbed2be77050e61ee6a178.tar.gz
jquery-cef3450228f53a1facfbed2be77050e61ee6a178.zip
Remove noCloneEvent detects and white-box unit test.
Diffstat (limited to 'src/support.js')
-rw-r--r--src/support.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/support.js b/src/support.js
index 36b91b5e4..3c763092f 100644
--- a/src/support.js
+++ b/src/support.js
@@ -36,7 +36,6 @@ jQuery.support = (function() {
boxModel: document.compatMode === "CSS1Compat",
// Will be defined later
- noCloneEvent: true,
reliableMarginRight: true,
boxSizingReliable: true,
pixelPosition: false
@@ -71,17 +70,6 @@ jQuery.support = (function() {
// WebKit doesn't clone checked state correctly in fragments
support.checkClone = fragment.cloneNode( true ).cloneNode( true ).lastChild.checked;
- // Support: IE<9
- // Opera does not clone events (and typeof div.attachEvent === undefined).
- // IE9-10 clones events bound via attachEvent, but they don't trigger with .click()
- if ( div.attachEvent ) {
- div.attachEvent( "onclick", function() {
- support.noCloneEvent = false;
- });
-
- div.cloneNode( true ).click();
- }
-
// Support: Firefox 17+
// Beware of CSP restrictions (https://developer.mozilla.org/en/Security/CSP), test/csp.php
div.setAttribute( "onfocusin", "t" );