Bug 1967104 - Hackily fix SpecifiedValueInfo to fix test_bug877690.html.
Making it conditional properly is kind of a pain right now and not something I should land without review. Add a test so that we don't forget to remove this or make it properly conditional when shipping it to content.
This commit is contained in:
committed by
ctuns@mozilla.com
parent
42784a5093
commit
fad7f51305
@@ -52,7 +52,9 @@ pub enum GenericImage<G, ImageUrl, Color, Percentage, Resolution> {
|
||||
ImageSet(Box<GenericImageSet<Self, Resolution>>),
|
||||
|
||||
/// A `light-dark()` function.
|
||||
LightDark(Box<GenericLightDark<Self>>),
|
||||
/// NOTE(emilio): #[css(skip)] only affects SpecifiedValueInfo. Remove or make conditional
|
||||
/// if/when shipping light-dark() for content.
|
||||
LightDark(#[css(skip)] Box<GenericLightDark<Self>>),
|
||||
}
|
||||
|
||||
pub use self::GenericImage as Image;
|
||||
|
||||
Reference in New Issue
Block a user