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

JSLint does not understand CSS RGB values.

Expand Messages
  • pauanyu
    @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:
    Message 1 of 2 , Aug 30, 2009
    • 0 Attachment
      @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 ';'.

      Problem at line 4 character 5: Cannot read property 'length' of undefined
    • douglascrockford
      ... Thanks. Please try it now.
      Message 2 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.