-
-
Save t-uda/2994894 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
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
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.