cssom.iframe.style.CssSelectorPart_ Extends
Represents one part of a CSS Selector. For example in the selector 'body #foo .bar', body, #foo, and .bar would be considered selector parts. In the official CSS spec these are called "simple selectors".

Inheritance

Constructor

goog.cssom.iframe.style.CssSelectorPart_(selectorPartString)

Parameters

selectorPartString : string
A string containing the selector part in css format.

Instance Methods

Public Protected Private
testElement(elementInfo) boolean
Test whether an element matches this selector part, considered in isolation.
Arguments:
elementInfo : Object
Element properties to test.
Returns: boolean  Whether the element matched.
code »

Instance Properties

inputString_ :
No description.
Code »
matchProperties_ :
No description.
Code »
testedElements_ :
No description.
Code »

Static Properties

goog.cssom.iframe.style.CssSelectorPart_.instances_ :
Cache of existing CssSelectorPart_ instances.
Code »

Package cssom.iframe.style

Package Reference