3 <script src=
"../../../http/tests/inspector/inspector-test.js"></script>
4 <script src=
"../../../http/tests/inspector/timeline-test.js"></script>
8 function performActions()
10 var testDiv
= document
.querySelector("#testDiv");
11 for (var i
= 0; i
< 20; ++i
)
12 testDiv
.style
.visibility
= "";
17 WebInspector
.context
.setFlavor(WebInspector
.TimelinePanel
, WebInspector
.panels
.timeline
);
18 InspectorTest
.performActionsAndPrint("performActions()", "RecalculateStyles");
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>