Skip to content

Namespace and Media Queries #286

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
andresgarza opened this issue Jun 3, 2011 · 1 comment
Closed

Namespace and Media Queries #286

andresgarza opened this issue Jun 3, 2011 · 1 comment

Comments

@andresgarza
Copy link

Looks like namespacing doesn't work correctly with media queries:

#namespace {
    #foo { color:black; }
    @media (orientation:portrait) {
        #bar { color:white }
    }
}

Should result in:

#namespace #foo { color: black; }
@media (orientation:portrait) {
    #namespace #bar { color: white; }
}

But instead you get:

#namespace #foo { color: black; }
@media (orientation:portrait) {
    #bar { color: white; }
}

As you can see, the namespace is not applied to the rules inside a media query.

@sturobson
Copy link

This issue needs to be closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants