[
https://issues.apache.org/jira/browse/FLEX-35172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alex Harui reassigned FLEX-35172:
---------------------------------
Assignee: Alex Harui
> CSS property with more than 1 value does not work in external CSS files
> -----------------------------------------------------------------------
>
> Key: FLEX-35172
> URL: https://issues.apache.org/jira/browse/FLEX-35172
> Project: Apache Flex
> Issue Type: Bug
> Components: FlexJS
> Affects Versions: Apache FlexJS 0.8.0
> Environment: Mac OS Sierra
> Reporter: Carlos
> Assignee: Alex Harui
>
> Having a selector like the following in a CSS file:
> .cardTitle
> {
> color: #fff;
> height: 176px;
> background:url('assets/Unknown.jpg') center / cover;
> }
> and assigned like normal: <mdl:CardTitle className="cardTitle">
> results in :
> this["background"] = [unexpected value type: url('assets/Unknown.jpg'),
> "center", "/", "cover"];
> Unexpected identifier 'value'. Expected either a closing ']' or a ','
> following an array element.
> This is due to the fact that compiler can't handle CSS properties with more
> than one values, since the value is an object and the compiler is not ready
> to deal with it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)