You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// An actual use-case that demonstrates the problem.use-case {
@includewith-browser-ranges(css-mediaqueries) {
@includebackground-image(linear-gradient(red, blue));
}
}
// A simplification of the issue$ranges: (ie: "9""11");
$new-ranges: (ie: "9");
@debug intersect-browser-ranges($ranges, $new-ranges);
At some point in the use-case, (ie: "9", opera: "9.5-9.6") is passed into intersect-browser-ranges() for the $new-ranges argument. The error comes from the single version number. Is that a mistake, or an edge-case that intersect-browser-ranges should support?
If the latter, I can submit a patch:
// support.scss line 280// we may need to to the same for line 278 ($old-max)?$new-max: if(length($new-range) >1, nth($new-range, 2), $new-min);
To reproduce:
At some point in the use-case,
(ie: "9", opera: "9.5-9.6")
is passed intointersect-browser-ranges()
for the$new-ranges
argument. The error comes from the single version number. Is that a mistake, or an edge-case thatintersect-browser-ranges
should support?If the latter, I can submit a patch:
This is the cause of oddbird/susy#395
The text was updated successfully, but these errors were encountered: