gical)");

      test(function() {
          assert_true(MathMLFeatureDetection.has_mspace());
          assert_true(MathMLFeatureDetection.has_dir());
          var s = measureSpaceAround("mrow-padding-logical-rtl")
          assert_approx_equals(s.left, 30, epsilon, "left padding");
          assert_approx_equals(s.right, 20, epsilon, "right padding");
          assert_approx_equals(s.top, 40, epsilon, "top padding");
          assert_approx_equals(s.bottom, 50, epsilon, "bottom padding");
          var b