mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
Make a comment more precise about derived properties.
This commit is contained in:
parent
dedaa6a98e
commit
f195df79f3
1 changed files with 2 additions and 2 deletions
|
@ -1582,7 +1582,7 @@ fn cascade_with_cached_declarations(applicable_declarations: &[MatchedProperty],
|
||||||
}
|
}
|
||||||
% else:
|
% else:
|
||||||
${property.ident}_declaration(_) => {
|
${property.ident}_declaration(_) => {
|
||||||
// Ignore derived properties; they cannot be set by content.
|
// Do not allow stylesheets to set derived properties.
|
||||||
}
|
}
|
||||||
% endif
|
% endif
|
||||||
% endfor
|
% endfor
|
||||||
|
@ -1777,7 +1777,7 @@ pub fn cascade(applicable_declarations: &[MatchedProperty],
|
||||||
}
|
}
|
||||||
% else:
|
% else:
|
||||||
${property.ident}_declaration(_) => {
|
${property.ident}_declaration(_) => {
|
||||||
// Ignore derived properties; they cannot be set by content.
|
// Do not allow stylesheets to set derived properties.
|
||||||
}
|
}
|
||||||
% endif
|
% endif
|
||||||
% endfor
|
% endfor
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue