diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-07-17 16:26:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-17 16:26:37 -0700 |
commit | 97023f18f34413d79b0c7e0b7d5cb3781868392f (patch) | |
tree | 9e02f2a64a2d16f22914ef752edc84614eb2d467 /components/script/dom/bindings/codegen | |
parent | e122ea65fdbb07c237de7f53a998f678c7a0ca5a (diff) | |
parent | 1301bcdf108e8de76b8db670fcbbf330a128212e (diff) | |
download | servo-97023f18f34413d79b0c7e0b7d5cb3781868392f.tar.gz servo-97023f18f34413d79b0c7e0b7d5cb3781868392f.zip |
Auto merge of #17537 - jyc:default-namespace-serialization, r=emilio
Some fixes to selector serialization re: namespaces and universal selector
- Fix eliding default namespace when serializing
- Fix shortest serialization property when namespace prefix is `*|` and there is no default namespace
- Omit universal selector when serializing to match `cssom/serialize-namespaced-type-selectors` (again so we get the shortest serialization)
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes is part of a series to fix #17182
<!-- Either: -->
I'd like to land #17501 first, because it allows some tests for this to work.
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
<!-- 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/17537)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/bindings/codegen')
0 files changed, 0 insertions, 0 deletions