mirror of
https://github.com/servo/servo.git
synced 2025-08-13 09:25:32 +01:00
Further changes required by Servo
This commit is contained in:
parent
b6e8088e8e
commit
274d273f50
11 changed files with 81 additions and 70 deletions
|
@ -465,7 +465,7 @@ impl ComputedValuesExt for ComputedValues {
|
|||
/// Whether or not this style specifies a non-transparent background.
|
||||
fn background_is_transparent(&self) -> bool {
|
||||
let background = self.get_background();
|
||||
let color = self.resolve_color(background.background_color);
|
||||
let color = self.resolve_color(background.background_color.clone());
|
||||
color.alpha == 0 &&
|
||||
background
|
||||
.background_image
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue