Package org.eclipse.e4.ui.css.core.impl.engine.selector
package org.eclipse.e4.ui.css.core.impl.engine.selector
-
ClassDescriptionBuckets style rules by the rightmost simple selector of each selector alternative, so the cascade only runs the matcher against rules that can possibly match a given element.One selector alternative of a style rule, with its cascade position.Matches a
Selectors.Selectoragainst anElement.Internal CSS selector AST.first + second— direct adjacent sibling combinator.Compound selector: every operand must match the same element.[attr|='value']— matches whenattrequalsvalueor starts withvalue-.[attr~='value']— matches whenattrcontainsvalueas a whitespace-separated word.[attr]or[attr='value'].parent > child— child combinator..foo— matches by CSS class.ancestor descendant— descendant combinator.Button— matches by local element name.#foo— matches by CSS id.:name— matches when the element answers true toisPseudoInstanceOf(name)on its CSS-stylable element wrapper.A parsed CSS selector.a, b— selector list.*— matches any element.