polished_css/property/misc/
svg.rs

1crate::create_property!(
2    Fill,
3    display = "",
4    atomic = "fill",
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 fill() {
15        let name = "fill";
16        crate::test_property_initial_value!(Fill, CurrentColor);
17        crate::test_global_keywords!(Fill, name);
18        crate::test_function_var!(Fill, name);
19        #[cfg(feature = "atomic")]
20        crate::test_atomic_property!(Fill, "fill");
21    }
22}