[ 
https://issues.apache.org/jira/browse/SLING-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vlad Bailescu updated SLING-4176:
---------------------------------
    Summary: Sightly: StyleToken context is doing nothing  (was: Sightly: 
ScriptToken context is doing nothing)

> Sightly: StyleToken context is doing nothing
> --------------------------------------------
>
>                 Key: SLING-4176
>                 URL: https://issues.apache.org/jira/browse/SLING-4176
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>            Reporter: Vlad Bailescu
>            Priority: Minor
>              Labels: Sightly
>             Fix For: Scripting Sightly Engine 1.0.0
>
>
> The context='styleToken' expression option doesn't seem to be doing anything 
> (it seems to work as context='unsafe'). Similarly to scriptToken, this should 
> actually be a validator that only allows following CSS tokens:
> - Identifiers, e.g.: red, or -moz-box-sizing
> - Numbers and dimensions, e.g.: 42, 42deg, .42s or 42%
> - Strings, e.g.: "it's there"
> - Hex colors, e.g.: #fff
> - Functions (making sure to have matching parenthesis!), e.g.: rgba(20%, 20%, 
> 100%, 0.02), or url('data:image/png;base64,iVB...')



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to