Yes, that's right. In 1.5++, there may be a way to target li.mine and 
li.theirs using indentation. Perhaps something like

li
  ~.mine
    ...
  ~.theirs
    ...

This would also be useful for pseudoselectors, like :visited and :hover.

- Nathan

Evgeny wrote:
> Hmm.... I just thought about it, and it seems that its my mistake.
> Since the second case does work, but not the way I intend it to.
>
> Something like :
> %li
>    %div{ :class => 'mine' }
>
> is quite different from
>
> %li{ :class => 'mine' }
>
> Which is why these to snippets are quite different as well.

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