4 <script src=
"../resources/runner.js"></script>
20 display: inline-block;
27 <div id=
"container" style=
"">
37 var container
= document
.getElementById("container");
38 for (var i
= 0; i
< 200; i
++) {
39 var div
= document
.createElement("div");
40 div
.className
= "byteBox";
41 var span
= document
.createElement("span");
42 span
.className
= "inlineBlock";
43 span
.innerText
= nbsp
;
44 div
.appendChild(span
);
45 container
.appendChild(div
);
47 PerfTestRunner
.forceLayoutOrFullFrame();
56 var inlineBlocks
= document
.getElementsByClassName("inlineBlock");
57 for (var i
= inlineBlocks
.length
- 1; i
>= 0; i
--) {
58 inlineBlocks
[i
].innerText
= switcher
? " " : nbsp
;
59 PerfTestRunner
.forceLayoutOrFullFrame();
64 PerfTestRunner
.measureRunsPerSecond({
65 description
: "Measures performance of flexbox containing many small elements with wrapping (column).",