Get all CSS properties in the same groups as this one
(&self)
| 81 | |
| 82 | /// Get all CSS properties in the same groups as this one |
| 83 | pub fn group_siblings(&self) -> impl Iterator<Item = &'static CSSFeature> { |
| 84 | self.groups |
| 85 | .iter() |
| 86 | .filter_map(|f| GROUPS.get(f).map(|names| names.iter().filter_map(|name| Self::by_feature_name(name)))) |
| 87 | .flatten() |
| 88 | } |
| 89 | |
| 90 | /// Get all CSS properties in the same specification as this one |
| 91 | pub fn spec_siblings(&self) -> impl Iterator<Item = &'static CSSFeature> { |
nothing calls this directly
no test coverage detected