Package org.eclipse.e4.ui.css.core.impl.engine.selector
package org.eclipse.e4.ui.css.core.impl.engine.selector
-
ClassDescriptionConverts a SAC selector tree (as produced by the Batik parser) into the engine's internal
SelectorsAST.Matches aSelectors.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.