MCPcopy Create free account
hub / github.com/csskit/csskit / vendor_prefix

Method vendor_prefix

crates/csskit_ast/src/selector/query.rs:806–810  ·  view source on GitHub ↗

Returns the VendorPrefixes for this pseudo-class, or None if unknown.

(&self)

Source from the content-addressed store, hash-verified

804impl QueryPrefixedPseudo {
805 /// Returns the VendorPrefixes for this pseudo-class, or None if unknown.
806 pub fn vendor_prefix(&self) -> Option<VendorPrefixes> {
807 let c: Cursor = self.vendor.into();
808 let atom = CsskitAtomSet::from_bits(c.atom_bits());
809 atom.to_vendor_prefix()
810 }
811}
812
813/// `:size(<comparison>)` pseudo-class.

Callers 1

self_metadataMethod · 0.45

Calls 2

to_vendor_prefixMethod · 0.80
atom_bitsMethod · 0.45

Tested by

no test coverage detected