Ok. I do think that this is a bug (nathan should confirm) or at least a
better error message is needed.

The error goes away when you add a space between the parent reference
operator and the body selector.

But:

Your parent reference operators are not needed. Simple nesting will get you
the desired result:

html
  >
    body
      #zoom-ctrl
        *width: 50px

Chris

On Fri, Jun 18, 2010 at 12:20 PM, Andrew Selder <[email protected]> wrote:

> Hi all,
>
> I'm upgrading from Haml/Sass 2.2.16 and ran into an issue converting
> my sass sheets to work with 3.0.12
>
> I ran the sass-convert command given in the docs:
> sass-convert --recursive --in-place --from sass2 --to sass
> stylesheets/
>
> No issues there, but when I try to compile the stylesheet I get a
> syntax error:
> Syntax Error: Invalid parent selector: html >
>
> The sass in question is:
>
> // IE 7 fixes for transparent filter bar
> html
>  &>
>    &body
>      #zoom-ctrl
>        *width: 50px
>
> Anybody have any suggestions?
>
> Thanks,
>
> Andrew
>
> --
> 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] <haml%[email protected]>.
> For more options, visit this group at
> http://groups.google.com/group/haml?hl=en.
>
>

-- 
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