Skip to content

Commit

Permalink
Fix indent in stroke-width.html (#37668)
Browse files Browse the repository at this point in the history
  • Loading branch information
nt1m authored and pull[bot] committed Aug 24, 2023
1 parent 2df86f8 commit 1208868
Showing 1 changed file with 5 additions and 5 deletions.
Expand Up @@ -22,11 +22,11 @@
syntax: '<percentage>',
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'));
}
},
{
Expand Down

0 comments on commit 1208868

Please sign in to comment.