mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Further changes required by Servo
This commit is contained in:
parent
9d41dd1ad9
commit
d76fe81600
1 changed files with 5 additions and 3 deletions
|
@ -425,9 +425,11 @@ fn tweak_when_ignoring_colors(
|
|||
}
|
||||
|
||||
// Always honor colors if forced-color-adjust is set to none.
|
||||
let forced = context.builder.get_inherited_text().clone_forced_color_adjust();
|
||||
if forced == computed::ForcedColorAdjust::None {
|
||||
return;
|
||||
#[cfg(feature = "gecko")] {
|
||||
let forced = context.builder.get_inherited_text().clone_forced_color_adjust();
|
||||
if forced == computed::ForcedColorAdjust::None {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Don't override background-color on ::-moz-color-swatch. It is set as an
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue