Skip to main content

FIELD_CLASSES

Constant FIELD_CLASSES 

Source
pub const FIELD_CLASSES: &[&str];
Expand description

Every class a field’s markup can carry.

crate::facet::FACET_CLASSES’ obligation. Every one of these is ruled by the generated sheet, the group’s four through group_rules; the list is written down anyway, because it is what the hosts’ markup is held against and what the vocabulary test holds the sheet against.

What goes wrong without it: an app checking its stylesheet against crate::vocabulary::names concludes that its live .form-group and .form-label rules match nothing and are safe to delete.