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/12/14 16:32: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=16291136#comment-16291136 ] 

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

Adding a tiny demo of this:  change the "RulerSkin" class to use the CSSColor.LightYellow since that's what the hard-coded color value that was there translates to:
Sending        tutorials\src\org\apache\pivot\tutorials\explorer\RulerSkin.java
Sending        tutorials\src\org\apache\pivot\tutorials\navigation\RulerSkin.java
Transmitting file data ..done
Committing transaction...
Committed revision 1818163.


> 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)