Skip to content

Broken value prefixing #10

Open
Open
@kripod

Description

@kripod

When calling prefixValue("position", "sticky"), it returns with "-webkit-sticky, sticky" as a plain string.

The prefixValue function would return a false positive on parameters like prefixValue("content", "'Look, I am sticky like glue!'"), resulting in strings like 'Look, I am -webkit-sticky, sticky like glue!'.

As a solution, I would like to propose checking for trimmed values and requiring an exact match. An array should be returned as a result, instead of just a plain string, so that library authors can transform it as desired.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions