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 Jan 9, 2024
1 parent 8c0d447 commit 1405851
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
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 1405851

Please sign in to comment.