1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
content / test / data / screen_orientation / screen_orientation_screenorientationchange.html [blame]
<!DOCTYPE HTML>
<html>
<head>
</head>
<script>
screen.orientation.onchange = function() {
document.location.hash = '#' + screen.orientation.angle;
};
document.location.hash = '#ready';
</script>
<body>
<div>Starting...</div>
</body>
</html>