Okay, this is fixed in trunk. Both error cases had the same problem: SassScript didn't understand the "url(foo)" syntax. Those who have been excited about the possibility of SassScript functions will be interested to note that my fix for this was essentially to compile "url(foo)" as calling a function "url" on "foo". At the moment, all this means is that it'll output "url(foo)" but it could be reasonably easily extended to add support for hsl and suchlike.
- Nathan Gioele wrote: > On Aug 3, 5:09 pm, "Brett Rogers" <[EMAIL PROTECTED]> wrote: > >> Part of the problems is that you are trying to set an image to a >> background-color instead of background. >> > My fault; I was trying to get the smallest testcase, after a few cuts > it started losing sense ;) > > >> I do not think you can assign a constant in addition to regular values. >> > I think you can (sometimes). The Sass reference has > > h6 > :font = italic "small-caps" bold (!main_font_size + 0.1em) ! > font_family > > >> !light_gray = #f0e0e4 >> #header >> :background url(bg.png) repeat-x >> :color = !light_gray >> > I also ended up splitting the various background values. > > -- > Gioele > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
