mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Further changes required by Servo
This commit is contained in:
parent
4559546fbb
commit
bb55e923bb
15 changed files with 76 additions and 38 deletions
|
@ -472,7 +472,7 @@ impl ComputedValuesExt for ComputedValues {
|
|||
fn background_is_transparent(&self) -> bool {
|
||||
let background = self.get_background();
|
||||
let color = self.resolve_color(background.background_color.clone());
|
||||
color.alpha == 0 &&
|
||||
color.alpha == 0.0 &&
|
||||
background
|
||||
.background_image
|
||||
.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue