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

1520Re: [jslint] Re: CSS linting bugs.

Expand Messages
  • Cheney, Edward A SSG RES USAR
    Oct 11, 2010
    • 0 Attachment
      Tim,

      That is dangerous. Unlike HTML 4.01, and below, CSS and JavaScript are both case sensitive. Every release of HTML after 4.01 is case sensitive with half exception to the unfinished HTML5. That said your code is not extensible or reusable outside your current architecture by any of your partners or your own organization. I suggest this be kept in mind when you code fails to process in a partner's XHTML 1.0 strict environment and your code has to be rewritten from scratch after cost decisions are written into your contracts.

      Austin Cheney, CISSP
      http://prettydiff.com/

      ----- Original Message -----
      From: Tim Beadle <tim.beadle@...>
      Date: Monday, October 11, 2010 5:09
      Subject: Re: [jslint] Re: CSS linting bugs.
      To: jslint_com@yahoogroups.com


      > On 10 October 2010 12:46, Douglas Crockford < wrote:
      > > Is there a good reason for your house style? If there is, I will consider it.
      >
      > I hadn't encountered the uppercase-element selector style before I
      > joined my current employer. I've been writing CSS since its early
      > days, and actually prefer this style now.
      >
      > I think the advantage it gives, when scanning CSS rules, is an easy
      > visual distinction between elements in selectors vs class names, IDs
      > and other selector syntax. We also use this style in our jQuery
      > selectors, with the same result.
      >
      > E.g.
      >
      > SELECT, INPUT.text { ... }
      >
      > Best regards,
      >
      > Tim
    • Show all 9 messages in this topic