Hi!
I'm trying to convert sass to scss and in one of my sass files I have
this:
#mail-wrp
  // Min-width for IE6
  width: expression(d=document.compatMode=="CSS1Compat" ?
documentElement:document) && (d.clientWidth < #{!pg_min_width + 1} ?
"#{!pg_min_width}px" : "auto")

This compiles to CSS without any problems, but when I convert the
above code to scss syntax:
#mail-wrp {
  // Min-width for IE6
  width: expression(d=document.compatMode=="CSS1Compat" ?
documentElement : document) && (d.clientWidth < #{$pg_min_width + 1} ?
"#{$pg_min_width}px" : "auto");
  }

Compiler says:
Sass::SyntaxError at /css/ie6.css
Invalid CSS after "...nt : document) ": expected ";", was "&&
(d.clientWid..."
Ruby    content/sass/ie6.scss: in nil, line 13

I can't understand what is wrong?

Thanks in advace!
Zig

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to