Skip to content

Commit ccad655

Browse files
committed
Fixed bug at 0 for old algorithm
1 parent e889868 commit ccad655

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

css-backgrounds/spread-radius.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ <h1>box-shadow spread rounding</h1>
127127

128128
Box.ratios = {
129129
old: function(x) {
130-
return 1;
130+
return x==0? 0 : 1;
131131
},
132132

133133
arc: function(x) {

0 commit comments

Comments
 (0)