-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
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
Labels
No labels