Auto merge of #18213 - aethanyc:improve-debug-log, r=emilio

Improve debug log related to selector matching

<!-- 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

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because it only modifies debug log

<!-- 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/18213)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-08-24 05:17:27 -05:00 committed by GitHub
commit 1aacbce053
2 changed files with 4 additions and 4 deletions

View file

@ -356,7 +356,7 @@ where
);
if log_enabled!(Trace) {
trace!("Matched rules:");
trace!("Matched rules for {:?}:", self.element);
for rn in rule_node.self_and_ancestors() {
let source = rn.style_source();
if source.is_some() {