Given two conflicting ParsedSelectors, return a list of selector rules that select elements with both rules present.
Conflicting ParsedSelector 1.
Conflicting ParsedSelector 1.
A list of ParsedSelector rules that select all possible elements that can have both styles applied.
Given a ruleset and Block, resolve all resolve()
and resolve-inherited()
calls with the appropriate values from the local block and resolved blocks.
The PostCSS ruleset to operate on.
The owner block of these rules.
Given a ruleset and Block, resolve all conflicts against the parent block as an override
by automatically injecting resolve-inherited()
calls for conflicting properties.
The PostCSS ruleset to operate on.
The owner block of these rules.
Splits a CompoundSelector linked list into an array of [ CompoundSelector, Combinator, CompoundSelector ], where the first CompoundSelector is all but the last selector segment.
The compound selector to split.
Generated using TypeDoc
ConflictResolver
is a utility class that crawls a Block, the block it inherits from, and any other explicitly referenced blocks where resolution rules are applied, and resolves property values accordingly.