mirror of
https://github.com/servo/servo.git
synced 2025-08-12 00:45:33 +01:00
style: Cleanup the cascade a good bit.
This commit is contained in:
parent
b70cbeb84c
commit
e374a54050
20 changed files with 286 additions and 248 deletions
|
@ -285,8 +285,8 @@ ${helpers.single_keyword("image-rendering",
|
|||
use super::display::computed_value::T as Display;
|
||||
|
||||
if context.style().get_box().clone_display() == Display::none {
|
||||
context.mutate_style().mutate_inheritedbox()
|
||||
.set__servo_under_display_none(SpecifiedValue(true));
|
||||
context.builder
|
||||
.set__servo_under_display_none(SpecifiedValue(true));
|
||||
}
|
||||
}
|
||||
</%helpers:longhand>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue