You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Roger Whitcomb (JIRA)" <ji...@apache.org> on 2017/11/30 00:20:00 UTC

[jira] [Commented] (PIVOT-984) Support CSS3/X11 color names

    [ https://issues.apache.org/jira/browse/PIVOT-984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16271867#comment-16271867 ] 

Roger Whitcomb commented on PIVOT-984:
--------------------------------------

Somewhat related change:  support "null" as a valid Color that returns a null Color value.  Add a test:
Sending        wtk\src\org\apache\pivot\wtk\GraphicsUtilities.java
Sending        wtk\test\org\apache\pivot\wtk\test\ColorUtilitiesTest.java
Transmitting file data ..done
Committing transaction...
Committed revision 1816663.

> Support CSS3/X11 color names
> ----------------------------
>
>                 Key: PIVOT-984
>                 URL: https://issues.apache.org/jira/browse/PIVOT-984
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>    Affects Versions: 2.0.4, 2.1
>         Environment: All
>            Reporter: Roger Whitcomb
>            Assignee: Roger Whitcomb
>            Priority: Minor
>             Fix For: 2.1
>
>
> The current set of color names is determined by the Java AWT color names, which are basically the base 16 colors, plus a few.  The latest web standards build in the X11 colors names, which are a much larger list (see https://en.wikipedia.org/wiki/X11_color_names, and note the differences between CSS3 and X11).
> I would propose implementing the W3C standards since these are what current web applications will be using.
> The changes are easy enough (except for the "gray" vs. "grey" spellings and possibly the X11/CSS3 differences) that I would consider changing it for 2.0.5 except that this is a spec change that doesn't belong in a bug fix release (unless someone could make a good case for it).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)