3 <script src=
"../../http/tests/inspector/inspector-test.js"></script>
4 <script src=
"../../http/tests/inspector/timeline-test.js"></script>
14 function performActions()
16 var element
= document
.createElement("div");
17 element
.className
= "test-style";
18 element
.innerHTML
= "<span>Test data</span>";
19 document
.querySelector('section > div').appendChild(element
);
20 var unused
= element
.offsetWidth
;
25 InspectorTest
.performActionsAndPrint("performActions()", "UpdateLayoutTree");
31 <body onload=
"runTest()">
33 Tests the Timeline API instrumentation of a style recalculation event