mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
style: Fix layer statement rules with multiple layer names
MANUAL PUSH: Trivial orange fix CLOSED TREE.
This commit is contained in:
parent
7300c12a13
commit
a1c8d7ebb2
1 changed files with 2 additions and 2 deletions
|
@ -2765,9 +2765,9 @@ impl CascadeData {
|
|||
CssRule::LayerStatement(ref lock) => {
|
||||
let layer_rule = lock.read_with(guard);
|
||||
for name in &*layer_rule.names {
|
||||
// There are no children, so we can ignore the
|
||||
// return value.
|
||||
maybe_register_layers(self, Some(name), containing_rule_state);
|
||||
// Register each layer individually.
|
||||
containing_rule_state.restore(&saved_containing_rule_state);
|
||||
}
|
||||
},
|
||||
CssRule::Container(ref lock) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue