mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Improve debug log related to selector matching
Move debug log in matches_complex_selector_internal to the front so that the entire complex selector can be printed. MozReview-Commit-ID: KXBDpbzBv0I
This commit is contained in:
parent
4725a05bfb
commit
a23596d377
2 changed files with 4 additions and 4 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue