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

Re: JSLint does not understand CSS RGB values.

Expand Messages
  • douglascrockford
    ... Thanks. Please try it now.
    Message 1 of 2 , Aug 30, 2009
    • 0 Attachment
      --- In jslint_com@yahoogroups.com, "pauanyu" <pcxunlimited@...> wrote:
      >
      > @charset "UTF-8";
      > body {
      > color: rgb(30, 144, 255);
      > color: rgb(75%, 4%, 100%);
      > }
      >
      >
      > The above fails with the following errors:
      >
      >
      > Problem at line 3 character 18: Expected a positive number and instead saw ','
      >
      > Problem at line 3 character 23: Expected ')' and instead saw ','.
      >
      > Problem at line 3 character 25: Expected ';' and instead saw '255'.
      >
      > Problem at line 3 character 28: Excepted a style attribute, and instead saw ')'.
      >
      > Problem at line 3 character 29: Expected ':' and instead saw ';'.

      Thanks. Please try it now.
    Your message has been successfully submitted and would be delivered to recipients shortly.