Yes, there is repetition in the generated css and with a small amount of
risk it can be eliminated via an optimizer. But other than an extra 20 bytes
in the css, what is the harm? I'm asking because I wonder if there's a use
case that I'm not considering.

chris

On Mon, Feb 1, 2010 at 9:37 AM, Divya Manian <[email protected]> wrote:

> Hi all
>
> On 2/1/10 9:20 AM, "Chris Eppstein" <[email protected]> wrote:
>
> > It's also worth noting that the merged file like this can yield different
> > results in the corner case where selector order changes for selectors
> having
> > the same weight and both match the same element and modify the same
> property.
>
> But, as a start is it not possible to combine selectors which have the same
> specificity & are in different Sass files? Possibly, the declarations that
> are "imported" earlier come first before the declarations in other imported
> files.
>
> I think that will be sufficient for now, I am also worried about repeating
> the same selectors (with same specificity) just because I use _fonts.sass
> and _colors.sass ("body" selector gets repeated thrice, in fonts, colors,
> and my screen.sass).
>
> Regards,
> Divya
>
>
> --
> 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