Skip to content

Instantly share code, notes, and snippets.

@t-uda
Forked from jfirebaugh/gist:582889
Created June 26, 2012 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save t-uda/2994894 to your computer and use it in GitHub Desktop.
Save t-uda/2994894 to your computer and use it in GitHub Desktop.
<html>
<head>
<style>v\:oval { behavior:url(#default#VML); display:inline-block }</style>
<xml:namespace ns="urn:schemas-microsoft-com:vml" prefix="v" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$(document).submit(function () {});
$('oval').click();
})
</script>
</head>
<body>
<form><v:oval id="oval" style="width:100pt;height:75pt;" fillcolor="red"> </v:oval></form>
</body>
</html>
@t-uda
Copy link
Author

t-uda commented Jun 26, 2012

jfirebaugh's html is a test case for the bug ticket #7071 (Accessing the 'type' property on VML elements fails on IE) and uses jQuery v1.4.2.

But now, when I use jQuery v1.7.2 (or later versions), this problem seems not to occur.

@t-uda
Copy link
Author

t-uda commented Jun 28, 2012

I see.

In the ticket, there are no comments about whether this bug is fixed or not, and the ticket remains WONTFIX. However, there is a fix for this issue. So, it's not mysterious why my html works well.

Thanks for nice library!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment