polished_css/property/typography/
white_space.rs

1crate::create_property!(
2    WhiteSpace,
3    display = "",
4    atomic = "wspace",
5    custom = false,
6    data_type = "",
7    initial_value = Normal,
8    keywords = "normal,pre,nowrap,pre-wrap,pre-line,break-spaces",
9);
10
11#[cfg(test)]
12mod test {
13    #[test]
14    fn white_space() {
15        let name = "white-space";
16        crate::test_property_initial_value!(WhiteSpace, Normal);
17        crate::test_global_keywords!(WhiteSpace, name);
18        crate::test_function_var!(WhiteSpace, name);
19        #[cfg(feature = "atomic")]
20        crate::test_atomic_property!(WhiteSpace, "wspace");
21    }
22}