Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / tracing / timeline-recalculate-styles.html
blobdf024b832fb70803d355dbb33e7a69d993f1fb7f
1 <html>
2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/timeline-test.js"></script>
6 <style>
7 .test-style {
8 color: red;
10 </style>
12 <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;
23 function test()
25 InspectorTest.performActionsAndPrint("performActions()", "UpdateLayoutTree");
28 </script>
29 </head>
31 <body onload="runTest()">
32 <p>
33 Tests the Timeline API instrumentation of a style recalculation event
34 </p>
35 <section>
36 <div></div>
37 </section>
38 </body>
39 </html>