Skip to content

Commit e6979fb

Browse files
committed
[css-backgrounds-3] Fix bug introduced in previous revision.
This fixes incorrect placement of closing parentheses that had introduced incorrect behavior.
1 parent a46369f commit e6979fb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

css-backgrounds-3/radius-expansion-continuity.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -300,10 +300,10 @@
300300
}
301301
}
302302
r = {
303-
topLeft: radii.topLeft.map((r, idx) => map(r, Math.max(portion.top, portion.left, idx))),
304-
topRight: radii.topRight.map((r, idx) => map(r, Math.max(portion.top, portion.right, idx))),
305-
bottomLeft: radii.bottomLeft.map((r, idx) => map(r, Math.max(portion.bottom, portion.left, idx))),
306-
bottomRight: radii.bottomRight.map((r, idx) => map(r, Math.max(portion.bottom, portion.right, idx))),
303+
topLeft: radii.topLeft.map((r, idx) => map(r, Math.max(portion.top, portion.left), idx)),
304+
topRight: radii.topRight.map((r, idx) => map(r, Math.max(portion.top, portion.right), idx)),
305+
bottomLeft: radii.bottomLeft.map((r, idx) => map(r, Math.max(portion.bottom, portion.left), idx)),
306+
bottomRight: radii.bottomRight.map((r, idx) => map(r, Math.max(portion.bottom, portion.right), idx)),
307307
};
308308
break;
309309
}

0 commit comments

Comments
 (0)