Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / elements / styles-4 / styles-inline-element-style-changes-should-not-force-style-recalc.html
blob5cea3754e7d5d720fe6f1dcf164025f082ab19ae
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 <script>
8 function performActions()
10 var testDiv = document.querySelector("#testDiv");
11 for (var i = 0; i < 20; ++i)
12 testDiv.style.visibility = "";
15 function test()
17 WebInspector.context.setFlavor(WebInspector.TimelinePanel, WebInspector.panels.timeline);
18 InspectorTest.performActionsAndPrint("performActions()", "RecalculateStyles");
21 </script>
22 </head>
24 <body onload="runTest()">
25 <p>Tests that inspector doesn't force styles recalc on operations with inline element styles that result in no changes.</p>
26 <div id="testDiv" style="color: green">testDiv</div>
27 </body>
28 </html>