1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19

content / test / data / accessibility / aria / aria-hidden-iframe.html [blame]

<!DOCTYPE html>
<!--
@BLINK-ALLOW:focusable
@ANDROID-ALLOW:interesting
@NO-LOAD-EXPECTED:frames/inner.html
@WAIT-FOR:done
-->
<button>Before</button>
<iframe aria-hidden="true" src="frames/inner.html"></iframe>
<button>After</button>
<script>
  document.querySelector('iframe').addEventListener('load', () => {
    requestAnimationFrame(() => {
      requestAnimationFrame(() => {
        document.title = 'done';
      });
    });
  });
</script>