You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Shakhnazarov (JIRA)" <ji...@apache.org> on 2016/01/26 09:33:39 UTC

[jira] [Created] (CB-10440) Add CSS color names support for BackgroundColor on Windows

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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org