[librsvg: 7/14] Adjust docs



commit 1277fc3f0e6c9c3bc4c95181afd7ac667e337164
Author: Federico Mena Quintero <federico gnome org>
Date:   Mon Nov 11 15:14:08 2019 -0600

    Adjust docs

 rsvg_internals/src/css.rs | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/rsvg_internals/src/css.rs b/rsvg_internals/src/css.rs
index c3aa978f..8e5268c5 100644
--- a/rsvg_internals/src/css.rs
+++ b/rsvg_internals/src/css.rs
@@ -69,10 +69,10 @@
 //! me the next sibling element".
 //!
 //! Finally, the matching engine ties all of this together with
-//! `matches_selector_list()`.  This takes an opaque representation of
-//! an element, plus a selector list, and returns a bool.  We iterate
-//! through the rules in a stylesheet and apply each rule that matches
-//! to each element node.
+//! `matches_selector()`.  This takes an opaque representation of an
+//! element, plus a selector, and returns a bool.  We iterate through
+//! the rules in the stylesheets and gather the matches; then sort the
+//! matches by specificity and apply the result to each element.
 
 use cssparser::*;
 use selectors::attr::{AttrSelectorOperation, CaseSensitivity, NamespaceConstraint};


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]