Change test utility name and replace comments

According to the comment [1]  the test utility function
'compareValueCloseTo' tests only 'transform' property
but receive the target property as a parameter.

It should be renamed to 'testTransformValuesCloseTo'
and remove the target property.

Change missed typo and refactor snake case to lowerCamelCase.

And remove comments that are not needed.

[1] https://chromium-review.googlesource.com/c/chromium/src/+/2774851/comments/388c2b14_09e11d5b

Change-Id: Idccd640811d93da89edbc5ad5738527344b04902
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3473785
Reviewed-by: Oriol Brufau <obrufau@igalia.com>
Reviewed-by: Mason Freed <masonf@chromium.org>
Reviewed-by: Xiaocheng Hu <xiaochengh@chromium.org>
Commit-Queue: Seokho Song <seokho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#979164}
diff --git a/css/css-values/calc-angle-values.html b/css/css-values/calc-angle-values.html
index 0bbb43d..699af7a 100644
--- a/css/css-values/calc-angle-values.html
+++ b/css/css-values/calc-angle-values.html
@@ -20,7 +20,7 @@
   <link rel="help" href="https://www.w3.org/TR/css-values-3/#calc-computed-value">
   <link rel="help" href="https://www.w3.org/TR/css-values-3/#angles">
 
-  <meta content="This test checks that additions, substractions, multiplications and divisions in calc() function when applied to angle units." name="assert">
+  <meta content="This test checks that additions, subtractions, multiplications and divisions in calc() function when applied to angle units." name="assert">
 
   <script src="/resources/testharness.js"></script>
 
@@ -34,103 +34,94 @@
   <script>
   function startTesting()
   {
+    /*
+    In this mega-test of 27 sub-tests, we intentionally
+    set the tolerance precision (epsilon) to a rather big
+    value (0.0001 === 100 millionths). The reason for this
+    is we want to verify if browsers and CSS-capable
+    applications do the right calculations. We do not want
+    to penalize browsers and CSS-capable applications that
+    have modest precision (not capable of a 1 millionth
+    level precision).
+    */
 
- /* compareValueCloseTo(property_name, calcValue, epsilon, expectedValue, description)  */
+    // testTransformValuesCloseTo(property_name, calcValue, epsilon, expectedValue, description)
 
-    compareValueCloseTo("transform", "rotate(calc(45deg + 45deg))", 0.0001, "rotate(90deg)", "addition of 2 angle units: deg plus deg");
+    testTransformValuesCloseTo("rotate(calc(45deg + 45deg))", 0.0001, "rotate(90deg)", "addition of 2 angle units: deg plus deg");
 
-    compareValueCloseTo("transform", "rotate(calc(45deg + 1rad))", 0.0001, "rotate(102.29578deg)", "addition of 2 angle units: deg plus rad");
+    testTransformValuesCloseTo("rotate(calc(45deg + 1rad))", 0.0001, "rotate(102.29578deg)", "addition of 2 angle units: deg plus rad");
     /*
     1 radian == 57.295779513 degrees
     The original test was using the slightly imprecise rotate(102.3deg)
     */
 
-    compareValueCloseTo("transform", "rotate(calc(20deg + 200grad))", 0.0001, "rotate(200deg)", "addition of 2 angle units: deg plus grad");
+    testTransformValuesCloseTo("rotate(calc(20deg + 200grad))", 0.0001, "rotate(200deg)", "addition of 2 angle units: deg plus grad");
 
-    compareValueCloseTo("transform", "rotate(calc(200deg + 0.5turn))", 0.0001, "rotate(380deg)", "addition of 2 angle units: deg plus turn");
+    testTransformValuesCloseTo("rotate(calc(200deg + 0.5turn))", 0.0001, "rotate(380deg)", "addition of 2 angle units: deg plus turn");
 
-    compareValueCloseTo("transform", "rotate(calc(45rad + 45rad))", 0.0001, "rotate(90rad)", "addition of 2 angle units: rad plus rad");
+    testTransformValuesCloseTo("rotate(calc(45rad + 45rad))", 0.0001, "rotate(90rad)", "addition of 2 angle units: rad plus rad");
 
-    compareValueCloseTo("transform", "rotate(calc(1rad + 40grad))", 0.0001, "rotate(93.29578deg)", "addition of 2 angle units: rad plus grad");
-
-    /*
-    1 radian == 57.295779513 degrees; 40 gradians is 36 degrees.
-    */
-
-    compareValueCloseTo("transform", "rotate(calc(1rad + 0.5turn))", 0.0001, "rotate(237.29578deg)", "addition of 2 angle units: rad plus turn");
-
-    compareValueCloseTo("transform", "rotate(calc(45grad + 45grad))", 0.0001, "rotate(90grad)", "addition of 2 angle units: grad plus grad");
-
-    compareValueCloseTo("transform", "rotate(calc(10grad + 0.5turn))", 0.0001, "rotate(189deg)", "addition of 2 angle units: grad plus turn");
-
-    /*
-    10 gradians is 9 degrees.
-    */
-
- /* compareValueCloseTo(property_name, calcValue, epsilon, expectedValue, description)  */
+    testTransformValuesCloseTo("rotate(calc(1rad + 40grad))", 0.0001, "rotate(93.29578deg)", "addition of 2 angle units: rad plus grad");
 
 
-   /* Substraction of angle unit */
-
- /* compareValueCloseTo(property_name, calcValue, epsilon, expectedValue, description)  */
-
-    compareValueCloseTo("transform", "rotate(calc(45deg - 15deg))", 0.0001, "rotate(30deg)", "substraction of angle unit: deg minus deg");
-
-    compareValueCloseTo("transform", "rotate(calc(90deg - 1rad))", 0.0001, "rotate(32.70422deg)", "substraction of angle unit: deg minus rad");
-
-    /*
-    1 radian == 57.295779513 degrees
-    */
-
-    compareValueCloseTo("transform", "rotate(calc(38deg - 20grad))", 0.0001, "rotate(20deg)", "substraction of angle unit: deg minus grad");
-
-    compareValueCloseTo("transform", "rotate(calc(360deg - 0.5turn))", 0.0001, "rotate(180deg)", "substraction of angle unit: deg minus turn");
-
-    compareValueCloseTo("transform", "rotate(calc(45rad - 15rad))", 0.0001, "rotate(30rad)", "substraction of angle unit: rad minus rad");
-
-    compareValueCloseTo("transform", "rotate(calc(30rad - 10grad))", 0.0001, "rotate(1709.87339deg)", "substraction of angle unit: rad minus grad");
-
-    /*
-    30 radians is 1718.8733854 degrees ; 10 gradians is 9 degrees.
-    */
-
-    compareValueCloseTo("transform", "rotate(calc(4rad - 0.1turn))", 0.0001, "rotate(193.18312deg)", "substraction of angle unit: rad minus turn");
-
-    /*
-    4 radians is 229.183118052 degrees ; 0.1 turn is 36 degrees.
-    */
-
-    compareValueCloseTo("transform", "rotate(calc(45grad - 15grad))", 0.0001, "rotate(30grad)", "substraction of angle unit: grad minus grad");
-
-    compareValueCloseTo("transform", "rotate(calc(100grad - 0.25turn))", 0.0001, "rotate(0deg)", "substraction of angle unit: grad minus turn");
+    // 1 radian == 57.295779513 degrees; 40 gradians is 36 degrees.
 
 
-   /* Multiplication of angle unit */
+    testTransformValuesCloseTo("rotate(calc(1rad + 0.5turn))", 0.0001, "rotate(237.29578deg)", "addition of 2 angle units: rad plus turn");
 
- /* compareValueCloseTo(property_name, calcValue, epsilon, expectedValue, description)  */
+    testTransformValuesCloseTo("rotate(calc(45grad + 45grad))", 0.0001, "rotate(90grad)", "addition of 2 angle units: grad plus grad");
 
-    compareValueCloseTo("transform", "rotate(calc(45deg * 2))", 0.0001, "rotate(90deg)", "multiplication of angle unit: deg multiplied by int");
+    testTransformValuesCloseTo("rotate(calc(10grad + 0.5turn))", 0.0001, "rotate(189deg)", "addition of 2 angle units: grad plus turn");
 
-    compareValueCloseTo("transform", "rotate(calc(2 * 45rad))", 0.0001, "rotate(90rad)", "multiplication of angle unit: int multiplied by rad");
+    // 10 gradians is 9 degrees.
 
-    compareValueCloseTo("transform", "rotate(calc(45grad * 2))", 0.0001, "rotate(90grad)", "multiplication of angle unit: grad multiplied by int");
+    // subtraction of angle unit
 
-    compareValueCloseTo("transform", "rotate(calc(2 * 45turn))", 0.0001, "rotate(90turn)", "multiplication of angle unit: int multiplied by turn");
+    testTransformValuesCloseTo("rotate(calc(45deg - 15deg))", 0.0001, "rotate(30deg)", "subtraction of angle unit: deg minus deg");
+
+    testTransformValuesCloseTo("rotate(calc(90deg - 1rad))", 0.0001, "rotate(32.70422deg)", "subtraction of angle unit: deg minus rad");
+
+    // 1 radian == 57.295779513 degrees
+
+    testTransformValuesCloseTo("rotate(calc(38deg - 20grad))", 0.0001, "rotate(20deg)", "subtraction of angle unit: deg minus grad");
+
+    testTransformValuesCloseTo("rotate(calc(360deg - 0.5turn))", 0.0001, "rotate(180deg)", "subtraction of angle unit: deg minus turn");
+
+    testTransformValuesCloseTo("rotate(calc(45rad - 15rad))", 0.0001, "rotate(30rad)", "subtraction of angle unit: rad minus rad");
+
+    testTransformValuesCloseTo("rotate(calc(30rad - 10grad))", 0.0001, "rotate(1709.87339deg)", "subtraction of angle unit: rad minus grad");
+
+    // 30 radians is 1718.8733854 degrees ; 10 gradians is 9 degrees.
+
+    testTransformValuesCloseTo("rotate(calc(4rad - 0.1turn))", 0.0001, "rotate(193.18312deg)", "subtraction of angle unit: rad minus turn");
+
+    // 4 radians is 229.183118052 degrees ; 0.1 turn is 36 degrees.
+
+    testTransformValuesCloseTo("rotate(calc(45grad - 15grad))", 0.0001, "rotate(30grad)", "subtraction of angle unit: grad minus grad");
+
+    testTransformValuesCloseTo("rotate(calc(100grad - 0.25turn))", 0.0001, "rotate(0deg)", "subtraction of angle unit: grad minus turn");
 
 
-   /* Division of angle unit */
+    // Multiplication of angle unit
 
- /* compareValueCloseTo(property_name, calcValue, epsilon, expectedValue, description)  */
+    testTransformValuesCloseTo("rotate(calc(45deg * 2))", 0.0001, "rotate(90deg)", "multiplication of angle unit: deg multiplied by int");
 
-    compareValueCloseTo("transform", "rotate(calc(90deg / 2))", 0.0001, "rotate(45deg)", "division of angle unit: deg divided by int");
+    testTransformValuesCloseTo("rotate(calc(2 * 45rad))", 0.0001, "rotate(90rad)", "multiplication of angle unit: int multiplied by rad");
 
-    compareValueCloseTo("transform", "rotate(calc(90rad / 2))", 0.0001, "rotate(45rad)", "division of angle unit: rad divided by int");
+    testTransformValuesCloseTo("rotate(calc(45grad * 2))", 0.0001, "rotate(90grad)", "multiplication of angle unit: grad multiplied by int");
 
-    compareValueCloseTo("transform", "rotate(calc(90grad / 2))", 0.0001, "rotate(45grad)", "division of angle unit: grad divided by int");
+    testTransformValuesCloseTo("rotate(calc(2 * 45turn))", 0.0001, "rotate(90turn)", "multiplication of angle unit: int multiplied by turn");
 
-    compareValueCloseTo("transform", "rotate(calc(90turn / 2))", 0.0001, "rotate(45turn)", "division of angle unit: turn divided by int");
 
- /* compareValueCloseTo(property_name, calcValue, epsilon, expectedValue, description)  */
+   // Division of angle unit
+
+    testTransformValuesCloseTo( "rotate(calc(90deg / 2))", 0.0001, "rotate(45deg)", "division of angle unit: deg divided by int");
+
+    testTransformValuesCloseTo("rotate(calc(90rad / 2))", 0.0001, "rotate(45rad)", "division of angle unit: rad divided by int");
+
+    testTransformValuesCloseTo("rotate(calc(90grad / 2))", 0.0001, "rotate(45grad)", "division of angle unit: grad divided by int");
+
+    testTransformValuesCloseTo("rotate(calc(90turn / 2))", 0.0001, "rotate(45turn)", "division of angle unit: turn divided by int");
 
     /*
 
@@ -155,11 +146,9 @@
 
 
 
-  /* Testing conversion of angle unit  */
+   // Testing conversion of angle unit
 
- /* compareValueCloseTo(property_name, calcValue, epsilon, expectedValue, description)  */
-
-    compareValueCloseTo("transform", "rotate(calc(50grad)", 0.0001, "rotate(45deg)", "conversion of angle unit: grad into deg");
+    testTransformValuesCloseTo("rotate(calc(50grad)", 0.0001, "rotate(45deg)", "conversion of angle unit: grad into deg");
 
   }
 
diff --git a/css/css-values/calc-infinity-nan-computed.html b/css/css-values/calc-infinity-nan-computed.html
index cfcaa81..55b891c 100644
--- a/css/css-values/calc-infinity-nan-computed.html
+++ b/css/css-values/calc-infinity-nan-computed.html
@@ -16,53 +16,53 @@
 const APPROX_NEGATIVE_INFINITY = -APPROX_INFINITY;
 
 // For <length>
-test_computed_value_greater_or_lower_than("width", "calc(NaN * 1px)", APPROX_INFINITY);
-test_computed_value_greater_or_lower_than("width", "calc(infinity * 1px)", APPROX_INFINITY);
-test_computed_value_greater_or_lower_than("width", "calc(infinity * 1cm)", APPROX_INFINITY);
-test_computed_value_greater_or_lower_than("width", "calc(NaN * 1rem)", APPROX_INFINITY);
+testComputedValueGreaterOrLowerThan("width", "calc(NaN * 1px)", APPROX_INFINITY);
+testComputedValueGreaterOrLowerThan("width", "calc(infinity * 1px)", APPROX_INFINITY);
+testComputedValueGreaterOrLowerThan("width", "calc(infinity * 1cm)", APPROX_INFINITY);
+testComputedValueGreaterOrLowerThan("width", "calc(NaN * 1rem)", APPROX_INFINITY);
 
-test_computed_value_greater_or_lower_than("width", "calc(infinity * 1px - infinity * 1%)", APPROX_INFINITY);
-test_computed_value_greater_or_lower_than("width", "calc(infinity * 1px + infinity * 1%)", APPROX_INFINITY);
-test_computed_value_greater_or_lower_than("width", "calc(min(NaN * 1px, infinity * 1px) + max(infinity * 1px, -infinity * 1px))", APPROX_INFINITY);
-test_computed_value_greater_or_lower_than("width", "calc(infinity * 1px - max(infinity * 1%, 0%))", APPROX_INFINITY);
+testComputedValueGreaterOrLowerThan("width", "calc(infinity * 1px - infinity * 1%)", APPROX_INFINITY);
+testComputedValueGreaterOrLowerThan("width", "calc(infinity * 1px + infinity * 1%)", APPROX_INFINITY);
+testComputedValueGreaterOrLowerThan("width", "calc(min(NaN * 1px, infinity * 1px) + max(infinity * 1px, -infinity * 1px))", APPROX_INFINITY);
+testComputedValueGreaterOrLowerThan("width", "calc(infinity * 1px - max(infinity * 1%, 0%))", APPROX_INFINITY);
 
-test_computed_value_greater_or_lower_than("width", "calc(max(infinity * 1px, 10px))", APPROX_INFINITY);
+testComputedValueGreaterOrLowerThan("width", "calc(max(infinity * 1px, 10px))", APPROX_INFINITY);
 
-test_computed_value_greater_or_lower_than("margin-left", "calc(-infinity * 1px)", APPROX_NEGATIVE_INFINITY);
-test_computed_value_greater_or_lower_than("margin-left", "calc(min(1px, -infinity * 1%))", APPROX_NEGATIVE_INFINITY);
+testComputedValueGreaterOrLowerThan("margin-left", "calc(-infinity * 1px)", APPROX_NEGATIVE_INFINITY);
+testComputedValueGreaterOrLowerThan("margin-left", "calc(min(1px, -infinity * 1%))", APPROX_NEGATIVE_INFINITY);
 
-test_computed_value_greater_or_lower_than("margin-left", "calc(-infinity * 1%)", APPROX_NEGATIVE_INFINITY);
-test_computed_value_greater_or_lower_than("margin-left", "calc(max(10000px, 0px) + min(-infinity * 1px, infinity * 1px))", APPROX_NEGATIVE_INFINITY);
+testComputedValueGreaterOrLowerThan("margin-left", "calc(-infinity * 1%)", APPROX_NEGATIVE_INFINITY);
+testComputedValueGreaterOrLowerThan("margin-left", "calc(max(10000px, 0px) + min(-infinity * 1px, infinity * 1px))", APPROX_NEGATIVE_INFINITY);
 
-test_computed_value_greater_or_lower_than("margin-left", "calc(-infinity * 1px - infinity * 1px)", APPROX_NEGATIVE_INFINITY);
-test_computed_value_greater_or_lower_than("margin-left", "calc(min(-infinity * 1px, 10px))", APPROX_NEGATIVE_INFINITY);
+testComputedValueGreaterOrLowerThan("margin-left", "calc(-infinity * 1px - infinity * 1px)", APPROX_NEGATIVE_INFINITY);
+testComputedValueGreaterOrLowerThan("margin-left", "calc(min(-infinity * 1px, 10px))", APPROX_NEGATIVE_INFINITY);
 
 // For <time>
-test_computed_value_greater_or_lower_than("animation-duration", "calc(NaN * 1s)", APPROX_INFINITY);
-test_computed_value_greater_or_lower_than("animation-duration", "calc(infinity * 1s)", APPROX_INFINITY);
-test_computed_value_greater_or_lower_than("animation-duration", "calc(1 / 0 * 1s)", APPROX_INFINITY);
-test_computed_value_greater_or_lower_than("animation-duration", "calc(max(infinity * 1s, 10s)", APPROX_INFINITY);
+testComputedValueGreaterOrLowerThan("animation-duration", "calc(NaN * 1s)", APPROX_INFINITY);
+testComputedValueGreaterOrLowerThan("animation-duration", "calc(infinity * 1s)", APPROX_INFINITY);
+testComputedValueGreaterOrLowerThan("animation-duration", "calc(1 / 0 * 1s)", APPROX_INFINITY);
+testComputedValueGreaterOrLowerThan("animation-duration", "calc(max(infinity * 1s, 10s)", APPROX_INFINITY);
 
-test_computed_value_greater_or_lower_than("transition-delay", "calc(-infinity* 1s)", APPROX_NEGATIVE_INFINITY);
-test_computed_value_greater_or_lower_than("transition-delay", "calc(max(10000s, 0s) + min(-infinity * 1s, infinity * 1s))", APPROX_NEGATIVE_INFINITY);
-test_computed_value_greater_or_lower_than("transition-delay", "calc(min(-infinity * 1s, 10s))", APPROX_NEGATIVE_INFINITY);
+testComputedValueGreaterOrLowerThan("transition-delay", "calc(-infinity* 1s)", APPROX_NEGATIVE_INFINITY);
+testComputedValueGreaterOrLowerThan("transition-delay", "calc(max(10000s, 0s) + min(-infinity * 1s, infinity * 1s))", APPROX_NEGATIVE_INFINITY);
+testComputedValueGreaterOrLowerThan("transition-delay", "calc(min(-infinity * 1s, 10s))", APPROX_NEGATIVE_INFINITY);
 
 // For <angle>
-compareValueCloseTo("transform", "rotate(calc(infinity * 1deg))", 0.0001, "rotate(0deg)" );
-compareValueCloseTo("transform", "rotate(calc(-infinity * 1deg))", 0.0001, "rotate(0deg)");
-compareValueCloseTo("transform", "rotate(calc(NaN * 1deg))", 0.0001, "rotate(0deg)");
+testTransformValuesCloseTo("rotate(calc(infinity * 1deg))", 0.0001, "rotate(0deg)");
+testTransformValuesCloseTo("rotate(calc(-infinity * 1deg))", 0.0001, "rotate(0deg)");
+testTransformValuesCloseTo("rotate(calc(NaN * 1deg))", 0.0001, "rotate(0deg)");
 
-compareValueCloseTo("transform", "rotate(calc(infinity * 1turn))", 0.0001, "rotate(0turn)" );
-compareValueCloseTo("transform", "rotate(calc(-infinity * 1turn))", 0.0001, "rotate(0turn)");
-compareValueCloseTo("transform", "rotate(calc(NaN * 1turn))", 0.0001, "rotate(0turn)");
+testTransformValuesCloseTo("rotate(calc(infinity * 1turn))", 0.0001, "rotate(0turn)");
+testTransformValuesCloseTo("rotate(calc(-infinity * 1turn))", 0.0001, "rotate(0turn)");
+testTransformValuesCloseTo("rotate(calc(NaN * 1turn))", 0.0001, "rotate(0turn)");
 
-compareValueCloseTo("transform", "rotate(calc(infinity * 1rad))", 0.0001, "rotate(0rad)" );
-compareValueCloseTo("transform", "rotate(calc(-infinity * 1rad))", 0.0001, "rotate(0rad)");
-compareValueCloseTo("transform", "rotate(calc(NaN * 1rad))", 0.0001, "rotate(0rad)");
+testTransformValuesCloseTo("rotate(calc(infinity * 1rad))", 0.0001, "rotate(0rad)");
+testTransformValuesCloseTo("rotate(calc(-infinity * 1rad))", 0.0001, "rotate(0rad)");
+testTransformValuesCloseTo("rotate(calc(NaN * 1rad))", 0.0001, "rotate(0rad)");
 
-compareValueCloseTo("transform", "rotate(calc(infinity * 1grad))", 0.0001, "rotate(0grad)" );
-compareValueCloseTo("transform", "rotate(calc(-infinity * 1grad))", 0.0001, "rotate(0grad)");
-compareValueCloseTo("transform", "rotate(calc(NaN * 1grad))", 0.0001, "rotate(0grad)");
+testTransformValuesCloseTo("rotate(calc(infinity * 1grad))", 0.0001, "rotate(0grad)");
+testTransformValuesCloseTo("rotate(calc(-infinity * 1grad))", 0.0001, "rotate(0grad)");
+testTransformValuesCloseTo("rotate(calc(NaN * 1grad))", 0.0001, "rotate(0grad)");
 
 </script>
 </body>
diff --git a/css/support/computed-testcommon.js b/css/support/computed-testcommon.js
index 42cc176..3d1c718 100644
--- a/css/support/computed-testcommon.js
+++ b/css/support/computed-testcommon.js
@@ -36,7 +36,7 @@
   }, `Property ${property} value '${specified}'${titleExtra ? ' ' + titleExtra : ''}`);
 }
 
-function test_computed_value_greater_or_lower_than(property, specified, expected, titleExtra) {
+function testComputedValueGreaterOrLowerThan(property, specified, expected, titleExtra) {
     test(() => {
       const target = document.getElementById('target');
       assert_true(property in getComputedStyle(target), property + " doesn't seem to be supported in the computed style");
@@ -53,16 +53,16 @@
   }, `Property ${property} value '${specified}'${titleExtra ? ' ' + titleExtra : ''}`);
 }
 
-function compareValueCloseTo(property_name, calcValue, epsilon, expectedValue, description)
+function testTransformValuesCloseTo(specified, epsilon, expectedValue, description)
 {
     if(!description) {
-        description = `Property ${calcValue} value expected same with ${expectedValue} in +/-${epsilon}`
+      description = `Property ${specified} value expected same with ${expectedValue} in +/-${epsilon}`
     }
 
     test(function()
     {
         var targetElement = document.getElementById("target");
-        targetElement.style.setProperty(property_name, "initial");
+        targetElement.style.setProperty('transform', "initial");
 
         /*
         Since we are running many consecutive tests on the same
@@ -70,9 +70,9 @@
         to an initial value before actually re-testing it.
         */
 
-        targetElement.style.setProperty(property_name, calcValue);
+        targetElement.style.setProperty('transform', specified);
 
-        var computedCalcValue = getComputedStyle(targetElement)[property_name];
+        var computedCalcValue = getComputedStyle(targetElement)['transform'];
 
         /*
         We first strip out the word "matrix" with the
@@ -107,9 +107,9 @@
         Now, we execute the same steps with the expectedValue
         */
 
-        targetElement.style.setProperty(property_name, expectedValue);
+        targetElement.style.setProperty('transform', expectedValue);
 
-        var computedExpectedValue = getComputedStyle(targetElement)[property_name];
+        var computedExpectedValue = getComputedStyle(targetElement)['transform'];
 
         /*
         We first strip out the word "matrix" with the
@@ -141,42 +141,10 @@
         tableSplitExpectedValue[5] = parseFloat(tableSplitExpectedValue[5]);
 
         assert_array_approx_equals(tableSplitCalcValue, tableSplitExpectedValue, epsilon);
-
-        /*
-        In this mega-test of 27 sub-tests, we intentionally
-        set the tolerance precision (epsilon) to a rather big
-        value (0.0001 === 100 millionths). The reason for this
-        is we want to verify if browsers and CSS-capable
-        applications do the right calculations. We do not want
-        to penalize browsers and CSS-capable applications that
-        have modest precision (not capable of a 1 millionth
-        level precision).
-        */
-
     } , description);
 
 }
 
-/*
-    deg
-    Degrees. There are 360 degrees in a full circle.
-
-    grad
-    Gradians, also known as "gons" or "grades". There are 400 gradians in a full circle.
-
-    rad
-    Radians. There are 2π radians in a full circle.
-
-    1rad == 57.295779513°
-    https://www.rapidtables.com/convert/number/radians-to-degrees.html
-
-    π == Math.PI == 3.141592653589793
-
-    turn
-    Turns. There is 1 turn in a full circle.
-*/
-    /* Addition of angle units */
-
 function test_pseudo_computed_value(pseudo, property, specified, computed, titleExtra) {
   if (!computed)
     computed = specified;