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

Some CSS2 and CSS3 problems.

Expand Messages
  • pauanyu
    @charset UTF-8 ; div { overflow-x: visible; overflow-y: visible; word-wrap: normal; white-space: pre-wrap; } div .foo {} overflow-x, overflow-y, word-wrap,
    Message 1 of 3 , Aug 9, 2009
    • 0 Attachment
      @charset "UTF-8";

      div {
      overflow-x: visible;
      overflow-y: visible;
      word-wrap: normal;
      white-space: pre-wrap;
      }

      div > .foo {}


      overflow-x, overflow-y, word-wrap, and pre-wrap are CSS3.

      As for "div > .foo"... I'm not sure why JSLint can't handle it. It looks to me like it's a valid CSS2 selector, so...
    • Douglas Crockford
      ... Please try it now.
      Message 2 of 3 , Aug 9, 2009
      • 0 Attachment
        --- In jslint_com@yahoogroups.com, "pauanyu" <pcxunlimited@...> wrote:
        >
        > @charset "UTF-8";
        >
        > div {
        > overflow-x: visible;
        > overflow-y: visible;
        > word-wrap: normal;
        > white-space: pre-wrap;
        > }
        >
        > div > .foo {}


        Please try it now.
      • pauanyu
        ... Excellent, thanks.
        Message 3 of 3 , Aug 10, 2009
        • 0 Attachment
          --- In jslint_com@yahoogroups.com, "Douglas Crockford" <douglas@...> wrote:
          >
          > Please try it now.
          >

          Excellent, thanks.
        Your message has been successfully submitted and would be delivered to recipients shortly.