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

227Re: CSS

Expand Messages
  • Douglas Crockford
    Sep 18, 2008
    • 0 Attachment
      --- In jslint_com@yahoogroups.com, "Jordan" <ljharb@...> wrote:
      >
      > First thing I noticed checking a CSS file... CSS comments aren't
      > recognized.

      > And it didn't recognize line 5 as being a comment, rather it saw an
      error.

      JSLint will reject comments within {} because of security concerns.
      The error messages will get better.

      > Also, a CSS lint should recognize, and allow or reject via option,
      > browser-specific hacks. For example, IE hacks like #overflow (where
      > Firefox ignores the hashed directive but IE uses it).

      Thanks. That's the kind of advice I'll looking for.
    • Show all 11 messages in this topic