Get all CSS properties in the same specification as this one
(&self)
| 89 | |
| 90 | /// Get all CSS properties in the same specification as this one |
| 91 | pub fn spec_siblings(&self) -> impl Iterator<Item = &'static CSSFeature> { |
| 92 | SPECS |
| 93 | .get(self.spec) |
| 94 | .map(|names| names.iter().filter_map(|name| Self::by_feature_name(name))) |
| 95 | .into_iter() |
| 96 | .flatten() |
| 97 | } |
| 98 | |
| 99 | /// Check if a CSS property is supported across browsers specified by a browserslist query |
| 100 | #[cfg(feature = "browserslist")] |
nothing calls this directly
no test coverage detected