Skip to content

str-slice() should require integer indexes #2922

@nex3

Description

@nex3

str-slice("", 0.5) and str-slice("", 1, 1.5) should both throw errors because $start-at and $end-at, respectively, aren't integers. Instead in LibSass they return "".

Metadata

Metadata

Assignees

No one assigned

    Labels

    Compatibility - P3Minorly important for compatibility with the Sass spec and ecosystem

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions