This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

selectorText

Property of css/cssom/rulecss/cssom/rule

Syntax

var result = element.selectorText;
element.selectorText = value;

Notes

Remarks

Selector text can contain either a simple selector (such as ‘H1’) or a contextual selector (such as ‘P EM’) that consists of several simple selectors. Compound selectors (such as ‘B, STRONG’) are stored as separate rules in the collection.

Syntax

See also

Related pages

  • rulerule
  • <b/>
  • IHTMLStyleSheetRulesCollection
  • rulesrules

Attributions