diff options
Diffstat (limited to '')
-rw-r--r-- | testing/web-platform/tests/mathml/presentation-markup/operators/mo-stretch-properties-dynamic-001.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/web-platform/tests/mathml/presentation-markup/operators/mo-stretch-properties-dynamic-001.html b/testing/web-platform/tests/mathml/presentation-markup/operators/mo-stretch-properties-dynamic-001.html index 5d447aa1d2..1cb3c90bcb 100644 --- a/testing/web-platform/tests/mathml/presentation-markup/operators/mo-stretch-properties-dynamic-001.html +++ b/testing/web-platform/tests/mathml/presentation-markup/operators/mo-stretch-properties-dynamic-001.html @@ -42,7 +42,8 @@ element = document.getElementById("minsize_remove"); element.removeAttribute("minsize"); - assert_approx_equals(element.getBoundingClientRect().height, 1 * emToPx, epsilon, "remove"); + const unstretched_size = 1 * emToPx; + assert_approx_equals(element.getBoundingClientRect().height, unstretched_size, epsilon, "remove"); }, `minsize`); test(function() { |