aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-10-19 18:16:11 -0400
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-10-21 12:50:12 -0400
commit6b48ef5eca67f389d7a58f3c8a263ceb82c8becb (patch)
tree799e6d484e16c82a21962dd1bf71ec7ed58baabd /tests
parent77a55f1291861b87d30011ac5fd948f6b38d2c60 (diff)
downloadjquery-ui-6b48ef5eca67f389d7a58f3c8a263ceb82c8becb.tar.gz
jquery-ui-6b48ef5eca67f389d7a58f3c8a263ceb82c8becb.zip
Tooltip: Only bind blur when opening via focus, mouseleave for mouseover. Remove the keep-open-on-focusout workaround. Now matching behaviour described in ARIA Authoring Practices. Fixes #8699 - Moving focus on click of a tooltipped element shows native tooltip in IE/Firefox on Windows
Diffstat (limited to 'tests')
-rw-r--r--tests/visual/tooltip/tooltip.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/visual/tooltip/tooltip.html b/tests/visual/tooltip/tooltip.html
index 8f9b2e8df..97fa99bb9 100644
--- a/tests/visual/tooltip/tooltip.html
+++ b/tests/visual/tooltip/tooltip.html
@@ -90,6 +90,10 @@
offset: "0 -5"
}
});
+
+ $( "#blurs-on-click" ).tooltip().click(function() {
+ $( "#focus-on-me" ).focus();
+ });
});
</script>
</head>
@@ -154,6 +158,9 @@
</div>
</div>
+ <button id="blurs-on-click" title="button title text">click me to focus something else</button>
+ <input id="focus-on-me">
+
<div class="group">
<p>Play around with focusing and hovering of form elements.</p>
<form>