Loading ...
Sorry, an error occurred while loading the content.

1062Re: `rgba` is unrecognized

Expand Messages
  • Douglas Crockford
    Jan 19, 2010
    • 0 Attachment
      --- In jslint_com@yahoogroups.com, Mike West <mike@...> wrote:
      >
      > JSLint doesn't appear to recognize the (relatively new) `rgba` syntax
      > for defining colors with alpha channels. Specifically:
      >
      > @charset "UTF-8";
      >
      > div {
      > background: rgb( 0, 0, 0 );
      > background: rgba( 0, 0, 0, 0.5 );
      > }
      >
      > gives the following errors:
      >
      > Error:
      > Problem at line 5 character 21: Unexpected token 'rgba'.

      Thanks. Please try it now.
    • Show all 3 messages in this topic