diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-12-05 03:01:12 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-05 03:01:12 -0800 |
commit | 16c2960c3a8ec1893a1667bb6c414998dab681b5 (patch) | |
tree | 921c9f23127bcbdd9dc637c4ed2cf206a9d76078 /python/tidy/servo_tidy_tests/test_tidy.py | |
parent | c2515f9c9822b6011fc6f8ad7127bccc3a1e6122 (diff) | |
parent | 68af62f15f0a38e01ff9be59f5371bbf6b34ad97 (diff) | |
download | servo-16c2960c3a8ec1893a1667bb6c414998dab681b5.tar.gz servo-16c2960c3a8ec1893a1667bb6c414998dab681b5.zip |
Auto merge of #14461 - heycam:bloom-no-common-ancestor, r=emilio
allow the style bloom filter to recover from switch to a node with no common ancestor with the old node
<!-- Please describe your changes on the following line: -->
Since https://bugzilla.mozilla.org/show_bug.cgi?id=1321284, we can have multiple disjoint subtrees of elements to style in a document, due to document level native anonymous content not inheriting from the document's element. This patch tweaks the style Bloom filter to allow switching to a new node that has no common ancestor with the old node.
r? @emilio
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).
<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
… common ancestor with the old node.
<!-- 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/14461)
<!-- Reviewable:end -->
Diffstat (limited to 'python/tidy/servo_tidy_tests/test_tidy.py')
0 files changed, 0 insertions, 0 deletions