dpogue commented on issue #1949:
URL:
https://github.com/apache/cordova-android/issues/1949#issuecomment-4584310028
> On Android the string could be just forwarded to the native side of the
plugin, like it is done, when the color is set by preference in config.xml:
This is not true because it's valid to call `setBackgroundColor` with **any
valid CSS colour** that the browser understands. All of these are allowed and
equivalent:
* `setBackgroundColor("red")`
* `setBackgroundColor("#ff0000")`
* `setBackgroundColor("rgb(255, 0, 0)")`
* `setBackgroundColor("hsl(0, 100%, 50%)")`
* `setBackgroundColor("#ff0000ff")`
* `setBackgroundColor("#f00")`
* `setBackgroundColor("oklab(0.5 0.4 0.4)")`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]