blob: 10213b9239abe909942fff52c305ee1deb078fce [file] [log] [blame]
<html>
<head>
<script src="../http/tests/inspector/inspector-test.js"></script>
<script src="timeline-test.js"></script>
<style>
.test-style {
color: red;
}
</style>
<script>
function performActions()
{
var element = document.createElement("div");
element.className = "test-style";
element.innerHTML = "Test data";
document.body.appendChild(element);
}
function doit()
{
printTimelineRecords(performActions, "RecalculateStyles");
}
</script>
</head>
<body onload="onload()">
<p>
Tests the Timeline API instrumentation of a style recalculation event
</p>
</body>
</html>