1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25

content / test / data / accessibility / regression / aria-owns-from-textarea.html [blame]

<!DOCTYPE html>
<!--
@WAIT-FOR:done
-->
<!-- Inspired by the search bar on google.com -->
<html>
  <textarea aria-owns="owned" autofocus></textarea>
  <div id="owned" role="presentation" style="display: none;">
    <p>a</p>
  </div>

  <script async defer>
    requestAnimationFrame(() => {
      requestAnimationFrame(() => {
        document.querySelector('#owned').style.display = 'block';
        document.querySelector('textarea').innerText = 'b';
        requestAnimationFrame(() => {
          requestAnimationFrame(() => {
            document.title = 'done';
          });
        });
      });
    });
  </script>
</html>