polished_css/property/appearance/
background.rs1crate::create_property!(
2 BackgroundColor,
3 display = "",
4 atomic = "bg-color",
5 custom = false,
6 data_type = "<color>",
7 initial_value = CurrentColor,
8 keywords = "currentColor",
9);
10
11#[cfg(test)]
12mod test {
13 #[test]
14 fn background_color() {
15 let name = "background-color";
16 crate::test_property_initial_value!(BackgroundColor, CurrentColor);
17 crate::test_global_keywords!(BackgroundColor, name);
18 crate::test_function_var!(BackgroundColor, name);
19 #[cfg(feature = "atomic")]
20 crate::test_atomic_property!(BackgroundColor, "bg-color");
21 }
22}