Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(464)

Unified Diff: Source/web/tests/data/frame_timing_inner.html

Issue 908453003: Blink changes to record interest rects for http://w3c.github.io/frame-timing/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update LayoutTests for new properties Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/tests/data/frame_timing_b.html ('k') | public/platform/WebFrameTimingEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/data/frame_timing_inner.html
diff --git a/Source/web/tests/data/frame_timing_inner.html b/Source/web/tests/data/frame_timing_inner.html
new file mode 100644
index 0000000000000000000000000000000000000000..dd7ad97cd5902af448376d571799673d76af39ca
--- /dev/null
+++ b/Source/web/tests/data/frame_timing_inner.html
@@ -0,0 +1,16 @@
+<!doctype html>
+<html>
+<body style='margin:0px; display: flex;'>
+<img id='sizer'/>
+<script>
+// The desired size should be specified in the url in the search portion
+// like this ?widthDimension:heightDimension.
+var parsedParameters = window.location.search.substring(1).split(':');
+
+// Set the sizes.
+var elementToSize = document.getElementById('sizer');
+elementToSize.style.width = parsedParameters[0];
+elementToSize.style.height = parsedParameters[1];
+</script>
+</body>
+</html>
« no previous file with comments | « Source/web/tests/data/frame_timing_b.html ('k') | public/platform/WebFrameTimingEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698