Returns the PropertyGroup for this pseudo-class, or None if unknown.
(&self)
| 786 | impl QueryPropertyTypePseudo { |
| 787 | /// Returns the PropertyGroup for this pseudo-class, or None if unknown. |
| 788 | pub fn property_group(&self) -> Option<PropertyGroup> { |
| 789 | let c: Cursor = self.group.into(); |
| 790 | let atom = CsskitAtomSet::from_bits(c.atom_bits()); |
| 791 | atom.to_property_group() |
| 792 | } |
| 793 | } |
| 794 | |
| 795 | /// `:prefixed(<vendor>)` pseudo-class. |
no test coverage detected