blob: b9e42a09fbe83b86c9ed66f30b9fae367ef08369 [file] [log] [blame]
haraken@chromium.orge7b0b562013-03-02 05:18:43 +00001<html>
2<body>
3<script src="../resources/magnitude-perf.js"></script>
4<script>
5function setupFunction(magnitude)
6{
7}
8
9function test(magnitude)
10{
11 for (var i = 0; i < magnitude; i++) {
12 document.body.appendChild(document.createTextNode(' '));
13 document.body.appendChild(document.createElement('div'));
14 document.body.appendChild(document.createTextNode(' '));
15 }
16 document.body.innerHTML = "";
17}
18
19Magnitude.description("Tests that style recalculation time is linear when adding text nodes that do not have renderers. See https://bugs.webkit.org/show_bug.cgi?id=110786");
20Magnitude.run(setupFunction, test, Magnitude.LINEAR);
21</script>
22</body>
23</html>