mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Adding transparent white.
Using helper color function (less verbose and clear to understand).
This commit is contained in:
parent
23945f2ea8
commit
95bcc5747c
2 changed files with 6 additions and 1 deletions
|
@ -1318,7 +1318,7 @@ impl BlockFlowDisplayListBuilding for BlockFlow {
|
|||
ScrollPolicy::Scrollable
|
||||
};
|
||||
|
||||
let transparent = color::rgba(1.0, 1.0, 1.0, 0.0);
|
||||
let transparent = color::transparent_white();
|
||||
let stacking_context =
|
||||
self.create_stacking_context(display_list,
|
||||
Some(Arc::new(PaintLayer::new(self.layer_id(0),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue