Ticket #7216: 7216.html

File 7216.html, 0.6 kB (added by doughays, 6 months ago)

recreate testcase - patch the path to dojo.js before running

Line 
1<html>
2<head>
3        <script type="text/javascript" src="../../dojo/dojo.js"
4                djConfig="isDebug: true"></script>
5
6        <script type="text/javascript">
7                dojo.addOnLoad(
8                        function(){
9                                var w = dojo.byId('w');
10                                dojo.connect(w, "onmouseenter", function(e){console.log('enter: isDecendant(relatedTarget,domNode)='+dojo.isDescendant(e.relatedTarget, w));});
11                                dojo.connect(w, "onmouseleave", function(e){console.log('leave: isDecendant(relatedTarget,domNode)='+dojo.isDescendant(e.relatedTarget, w));});
12                        }
13                );
14        </script>
15</head>
16<body>
17<br>
18<input id="w" value="how now brown cow">
19</body>
20</html>