Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / Source / web / tests / data / frame_timing_inner.html
blobdd7ad97cd5902af448376d571799673d76af39ca
1 <!doctype html>
2 <html>
3 <body style='margin:0px; display: flex;'>
4 <img id='sizer'/>
5 <script>
6 // The desired size should be specified in the url in the search portion
7 // like this ?widthDimension:heightDimension.
8 var parsedParameters = window.location.search.substring(1).split(':');
10 // Set the sizes.
11 var elementToSize = document.getElementById('sizer');
12 elementToSize.style.width = parsedParameters[0];
13 elementToSize.style.height = parsedParameters[1];
14 </script>
15 </body>
16 </html>