summaryrefslogtreecommitdiffstats
path: root/WebContent
diff options
context:
space:
mode:
authorBogdan Udrescu <bogdan@vaadin.com>2014-08-07 15:31:07 +0300
committerBogdan Udrescu <bogdan@vaadin.com>2014-08-14 17:04:39 +0300
commit8c4ddbb2837c8966551636cf140bba86c9671d1e (patch)
tree44956315838bcd6a530a7d07edcb483a86fb84a7 /WebContent
parentea8374649ba8b3b2d38a49a73eda205faf2f0fe9 (diff)
downloadvaadin-framework-8c4ddbb2837c8966551636cf140bba86c9671d1e.tar.gz
vaadin-framework-8c4ddbb2837c8966551636cf140bba86c9671d1e.zip
TabSheet focus/blur events fixed (#14304)
The blur and focus events should be linked with the TabSheet component as a whole. Any click inside the TabSheet should trigger one single focus and any leave the blur. Change-Id: Id24a2fab12aafe6f7aa3a44635e5b9e935a1cfe1
Diffstat (limited to 'WebContent')
-rw-r--r--WebContent/html-tests/ComponentFocus.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/WebContent/html-tests/ComponentFocus.html b/WebContent/html-tests/ComponentFocus.html
new file mode 100644
index 0000000000..0a822520e0
--- /dev/null
+++ b/WebContent/html-tests/ComponentFocus.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="UTF-8">
+<title>Insert title here</title>
+
+<script type="text/javascript">
+
+</script>
+
+</head>
+<body>
+<button onfocus="console.log('button focus');" onblur="console.log('button blur');">Focus me</button>
+<textarea onfocus="console.log('textarea focus');" onblur="console.log('textarea blur');">Focus me too</textarea>
+</body>
+</html> \ No newline at end of file