Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / Source / web / tests / data / focusout_focusin_events.html
blobf278e541b509380509161967351d004be661cf22
1 <input id="field" />
2 <div id="message"></div>
3 <script>
4 var field = document.getElementById('field');
6 field.addEventListener('focusout', function() {
7 document.getElementById('message').innerText += 'focusout';
9 field.addEventListener('focusin', function() {
10 document.getElementById('message').innerText += 'focusin';
11 });
12 });
14 field.focus();
15 </script>