From 0d8b247cab2f91e118d0b734028ce827e09a71f7 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Tue, 12 Apr 2011 16:48:22 -0400 Subject: Accessing the 'type' property on VML elements fails on IE. Fixes #7071. --- test/index.html | 5 +++++ test/unit/event.js | 3 +++ 2 files changed, 8 insertions(+) (limited to 'test') diff --git a/test/index.html b/test/index.html index a10655089..bf7dc7989 100644 --- a/test/index.html +++ b/test/index.html @@ -45,6 +45,10 @@ + + + + @@ -147,6 +151,7 @@ test element + Float test. diff --git a/test/unit/event.js b/test/unit/event.js index b46ef9ebb..491396f93 100644 --- a/test/unit/event.js +++ b/test/unit/event.js @@ -776,6 +776,9 @@ test("trigger() shortcuts", function() { // manually clean up detached elements elem.remove(); + + // test that special handlers do not blow up with VML elements (#7071) + jQuery("#oval").click().keydown(); }); test("trigger() bubbling", function() { -- cgit v1.2.3