diff --git a/css/css-typed-om/the-stylepropertymap/properties/stroke-width.html b/css/css-typed-om/the-stylepropertymap/properties/stroke-width.html index 08167ce988a6a51..abe7098a443c0c0 100644 --- a/css/css-typed-om/the-stylepropertymap/properties/stroke-width.html +++ b/css/css-typed-om/the-stylepropertymap/properties/stroke-width.html @@ -22,11 +22,11 @@ syntax: '', specified: assert_is_equal_with_range_handling, computed: (input, result) => { - const percent = input.to('percent').value; - if (percent < 0) - assert_style_value_equals(result, new CSSUnitValue(0, 'percent')); - else - assert_style_value_equals(result, new CSSUnitValue(percent, 'percent')); + const percent = input.to('percent').value; + if (percent < 0) + assert_style_value_equals(result, new CSSUnitValue(0, 'percent')); + else + assert_style_value_equals(result, new CSSUnitValue(percent, 'percent')); } }, {