[librsvg: 8/18] Log errors for presentation attributes as such, not as style properties



commit 059be995ed08e8cc4f3ca901a7f35fe309094bf9
Author: Federico Mena Quintero <federico gnome org>
Date:   Fri Dec 6 15:23:15 2019 -0600

    Log errors for presentation attributes as such, not as style properties

 rsvg_internals/src/properties.rs | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/rsvg_internals/src/properties.rs b/rsvg_internals/src/properties.rs
index 03adb9de..5b45f71b 100644
--- a/rsvg_internals/src/properties.rs
+++ b/rsvg_internals/src/properties.rs
@@ -540,8 +540,9 @@ impl SpecifiedValues {
                 // Ignore illegal values; don't set the whole node to be in error in that case.
 
                 rsvg_log!(
-                    "(style property error for attribute {:?}\n    value=\"{}\"\n    {}\n    \
-                     property will be ignored)",
+                    "(ignoring invalid presentation attribute {:?}\n    \
+                         value=\"{}\"\n    \
+                         {})",
                     attr.expanded(),
                     value,
                     e


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