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

Incorrect serialization of wildcard-namespace type selectors when there is a default namespace #16020

Closed
bzbarsky opened this issue Mar 18, 2017 · 1 comment

Comments

@bzbarsky
Copy link
Contributor

@bzbarsky bzbarsky commented Mar 18, 2017

Testcase (in stylo; I'm not sure how to get at this in servo proper):

<!DOCTYPE html>
<style>
  @namespace url(foo);
  *|a {}
</style>
<script>
  alert(document.styleSheets[0].cssRules[1].selectorText);
</script>

This alerts a which is not the same selector as *|a in this case.

@highfive
Copy link

@highfive highfive commented Mar 26, 2017

cc @emilio

@SimonSapin SimonSapin self-assigned this May 15, 2017
SimonSapin added a commit that referenced this issue May 16, 2017
bors-servo added a commit that referenced this issue May 16, 2017
Fix serialization of namespace and universal selectors

Fix #16017
Fix #16020

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16890)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue May 16, 2017
Fix serialization of namespace and universal selectors

Fix #16017
Fix #16020

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16890)
<!-- Reviewable:end -->
emilio added a commit to emilio/servo that referenced this issue May 16, 2017
bors-servo added a commit that referenced this issue May 16, 2017
Fix serialization of namespace and universal selectors

Fix #16017
Fix #16020

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16890)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue May 17, 2017
Fix serialization of namespace and universal selectors

Fix #16017
Fix #16020

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16890)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.