blob: 6d053f5271515df4509c2433c73a357395573655 [file] [log] [blame]
<!DOCTYPE html>
<html>
<!--
Copyright 2015 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<head>
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">
<style>
#first {
position: absolute;
width: 100px;
height: 100px;
top: 0px;
left: 0px;
background-color: green;
-webkit-transform: translate3d(0, 0, 0);
}
</style>
<script>
function pingAndOpenHello(e) {
var img = new Image();
img.onload = function () {
window.location = 'hello.html';
}
img.src = '../image_search/valid.png';
e.preventDefault();
};
function setup() {
first.ontouchstart = pingAndOpenHello;
};
</script>
</head>
<body onload='setup();'>
<div id='first'></div>
</body>
</html>