Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / PerformanceTests / CSS / CSSPropertySetterGetter.html
index 6bc51de..0e68a90 100644 (file)
@@ -71,12 +71,15 @@ var properties = {
 'webkitTransform' : 'scale3d(0.5, 0.5, 0.5)',
 'wordSpacing' : '40px',
 };
-PerfTestRunner.measureRunsPerSecond({run:function() {
-    for (key in properties) {
-        var value = div.style[key];
-        div.style[key] = "";
-        div.style[key] = properties[key];
+PerfTestRunner.measureRunsPerSecond({
+    description: "Measures performance of the CSS style array index getter and setter (a = elem.style[b], elem.style[c] = d).",
+    run:function() {
+        for (key in properties) {
+            var value = div.style[key];
+            div.style[key] = "";
+            div.style[key] = properties[key];
+        }
     }
-}});
+});
 </script>
 </html>