| <!DOCTYPE html> |
| <html> |
| <!-- |
| |
| Copyright 2016 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: 100%; |
| height: 100%; |
| top: 0px; |
| left: 0px; |
| background-color: green; |
| -webkit-transform: translate3d(0, 0, 0); |
| } |
| </style> |
| <script> |
| function openIFrameContainerPage(e) { |
| window.location = 'iframe_container_page.html'; |
| e.preventDefault(); |
| }; |
| |
| function setup() { |
| first.ontouchstart = openIFrameContainerPage; |
| first.onclick = openIFrameContainerPage; |
| }; |
| </script> |
| </head> |
| <body onload='setup();'> |
| <div id='first'></div> |
| </body> |
| </html> |