| Index: PerformanceTests/CSS/CSSPropertyUpdateValue.html
|
| diff --git a/PerformanceTests/CSS/CSSPropertyUpdateValue.html b/PerformanceTests/CSS/CSSPropertyUpdateValue.html
|
| index d59f20b65d25163ea1b25fe2a68fe8bc804ae37d..f64dd90cc642c1639400f3951b55860677f7246d 100644
|
| --- a/PerformanceTests/CSS/CSSPropertyUpdateValue.html
|
| +++ b/PerformanceTests/CSS/CSSPropertyUpdateValue.html
|
| @@ -72,9 +72,12 @@ var properties = {
|
| 'wordSpacing' : '40px',
|
| };
|
| // The first run will just add the properties but it's fine as the first run of the benchmark is always ignored.
|
| -PerfTestRunner.measureRunsPerSecond({run:function() {
|
| - for (key in properties)
|
| - div.style[key] = properties[key];
|
| -}});
|
| +PerfTestRunner.measureRunsPerSecond({
|
| + description: "Measures performance of the CSS style array index setter (elem.style[a] = b).",
|
| + run:function() {
|
| + for (key in properties)
|
| + div.style[key] = properties[key];
|
| + }
|
| +});
|
| </script>
|
| </html>
|
|
|