[refactor] More post-NSS WebCrypto cleanups (utility functions).
[chromium-blink-merge.git] / tools / perf / page_sets / key_noop_cases / no_op_raf.html
blobc4d395974975d736c5b75472c85dacdcc86dcf2a
1 <!DOCTYPE html>
2 <head>
3 <title>No-op requestAnimationFrame loop</title>
4 </head>
6 <style>
7 div { outline: solid thin cornflowerblue; }
8 </style>
10 <p>
11 This page has many compositor layers and a no-op requestAnimationFrame loop.
12 </p>
14 <script>
15 for (var i = 0; i < 10000; ++i) {
16 var div = document.body.appendChild(document.createElement("div"));
17 div.style.transform = "translateZ(0)";
18 div.style.width = "10px";
19 div.style.height = "10px";
22 function noOp() {
23 requestAnimationFrame(noOp);
25 noOp();
26 </script>