Skip to content
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

Attribute selectors not working properly #1652

Closed
sonwow opened this issue Feb 10, 2014 · 1 comment
Closed

Attribute selectors not working properly #1652

sonwow opened this issue Feb 10, 2014 · 1 comment

Comments

@sonwow
Copy link
Contributor

sonwow commented Feb 10, 2014

It seems that there are some problems in #1561.

Currently default namespace of attribute selector is None.
However if the namespace of attribute selector is None, matched result will be false:
https://github.com/mozilla/servo/blob/master/src/components/main/layout/wrapper.rs#L241
So, attribute selectors not working.

What do you think of this? @SimonSapin

@SimonSapin
Copy link
Member

This is a bug. Fixing it now.

SimonSapin added a commit to SimonSapin/servo that referenced this issue Feb 10, 2014
…pace applied.

The significant change is in the default_namespace() function.
The rest is only renaming a parameter and adding tests.
SimonSapin added a commit to SimonSapin/servo that referenced this issue Feb 10, 2014
… and not "any namespace" or use the default namespace declaration.
therealglazou pushed a commit to therealglazou/servo that referenced this issue Feb 20, 2014
… and not "any namespace" or use the default namespace declaration.
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