mirror of
https://github.com/servo/servo.git
synced 2025-08-14 18:05:36 +01:00
Fill extra layers in background style struct before handing off to Gecko
This commit is contained in:
parent
12f272587e
commit
a98c0fc037
3 changed files with 24 additions and 0 deletions
|
@ -2034,6 +2034,10 @@ pub fn cascade(viewport_size: Size2D<Au>,
|
|||
}
|
||||
% endfor
|
||||
|
||||
% if product == "gecko":
|
||||
style.mutate_background().fill_arrays();
|
||||
% endif
|
||||
|
||||
// The initial value of outline width may be changed at computed value time.
|
||||
if style.get_outline().clone_outline_style().none_or_hidden() &&
|
||||
style.get_outline().outline_has_nonzero_width() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue