[chromium] Unreviewed. Rebaseline layout tests.
[WebKit-https.git] / LayoutTests / inspector / timeline-recalculate-styles.html
1 <html>
2 <head>
3 <script src="../http/tests/inspector/inspector-test.js"></script>
4 <script src="timeline-test.js"></script>
5
6 <style>
7 .test-style {
8     color: red;
9 }
10 </style>
11
12 <script>
13
14 function performActions()
15 {
16     var element = document.createElement("div");
17     element.className = "test-style";
18     element.innerHTML = "Test data";
19     document.body.appendChild(element);
20 }
21
22 function doit() 
23 {
24     printTimelineRecords(performActions, "RecalculateStyles");
25 }
26
27 </script>
28 </head>
29
30 <body onload="onload()">
31 <p>
32 Tests the Timeline API instrumentation of a style recalculation event
33 </p>
34
35 </body>
36 </html>