Sergey Shakhnazarov created CB-10440:
----------------------------------------
Summary: Add CSS color names support for BackgroundColor on Windows
Key: CB-10440
URL: https://issues.apache.org/jira/browse/CB-10440
Project: Apache Cordova
Issue Type: Improvement
Components: Windows
Reporter: Sergey Shakhnazarov
Assignee: Sergey Shakhnazarov
1. Create a new Cordova project
2. Open config.xml
3. Add
<preference name="BackgroundColor" value="transparent"/>
to the file.
4. Build for Windows platform
Actual:
APPX3037
App manifest validation failed. Value '#transparent' of attribute
'/Package/Applications/Application/m3:VisualElements/@BackgroundColor' is not a
valid color name or color hexadecimal identifier.
This is because the generated appmanifest has this line :
<uap:VisualElements BackgroundColor="#transparent" ... />
where it doesn't expect the value to be a named color value other than a
hexadecimal color value.
Expected:
The appmanifest file can be generated correctly, with a value like:
<uap:VisualElements BackgroundColor="transparent" ... />
or
<uap:VisualElements BackgroundColor="turquoise" ... />
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]