From f195df79f39b76629e27c9f76b76cd950fb52f6a Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Tue, 6 May 2014 16:52:53 +0100 Subject: [PATCH] Make a comment more precise about derived properties. --- src/components/style/properties.rs.mako | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/style/properties.rs.mako b/src/components/style/properties.rs.mako index 8f3fe933daa..4f6b8830ff0 100644 --- a/src/components/style/properties.rs.mako +++ b/src/components/style/properties.rs.mako @@ -1582,7 +1582,7 @@ fn cascade_with_cached_declarations(applicable_declarations: &[MatchedProperty], } % else: ${property.ident}_declaration(_) => { - // Ignore derived properties; they cannot be set by content. + // Do not allow stylesheets to set derived properties. } % endif % endfor @@ -1777,7 +1777,7 @@ pub fn cascade(applicable_declarations: &[MatchedProperty], } % else: ${property.ident}_declaration(_) => { - // Ignore derived properties; they cannot be set by content. + // Do not allow stylesheets to set derived properties. } % endif % endfor