Uses of Record Class
dev.jcputney.mjml.css.CssSpecificity
Packages that use CssSpecificity
-
Uses of CssSpecificity in dev.jcputney.mjml.css
Classes in dev.jcputney.mjml.css that implement interfaces with type arguments of type CssSpecificityModifier and TypeClassDescriptionfinal recordCSS specificity as an (a, b, c) tuple where: a = number of ID selectors b = number of class, attribute, and pseudo-class selectors c = number of type and pseudo-element selectors Inline styles have a virtual specificity of (1, 0, 0, 0) which always wins, handled separately by the inliner.Fields in dev.jcputney.mjml.css declared as CssSpecificityModifier and TypeFieldDescriptionstatic final CssSpecificityCssSpecificity.ZERORepresents CSS specificity of zero, defined as (0, 0, 0).Methods in dev.jcputney.mjml.css that return CssSpecificityModifier and TypeMethodDescriptionCssSpecificity.add(CssSpecificity other) Adds two specificity values together (used for compound selectors).CssSelector.AttributeSelector.specificity()CssSelector.ClassSelector.specificity()CssSelector.ComplexSelector.specificity()CssSelector.CompoundSelector.specificity()CssSelector.IdSelector.specificity()CssSelector.PseudoClassSelector.specificity()CssSelector.PseudoElementSelector.specificity()CssSelector.SelectorList.specificity()CssSelector.specificity()Computes the specificity of this selector.CssSelector.TypeSelector.specificity()CssSelector.UniversalSelector.specificity()Methods in dev.jcputney.mjml.css with parameters of type CssSpecificityModifier and TypeMethodDescriptionCssSpecificity.add(CssSpecificity other) Adds two specificity values together (used for compound selectors).intCssSpecificity.compareTo(CssSpecificity other) Compares this CSS specificity with another based on the specificity values (a, b, c).static List<CssDeclaration> StyleAttribute.merge(List<CssDeclaration> existing, List<CssDeclaration> incoming, CssSpecificity incomingSpec) Merges new declarations into existing inline style declarations.