1
2
3
4
5
6
7
8
9
10
content / test / data / page_with_resize_handler.html [blame]
<!DOCTYPE html>
<html>
<script>
var resize_count = 0;
window.addEventListener('resize', () => {resize_count++;});
</script>
<body>
Page that counts the number of times it receives a resize event.
</body>
</html>