Name

LzCSSStyleRule() (as2)

Synopsis

JavaScript: LzCSSStyleRule
Type: Function
Access: public
Runtimes: as2
Topic: LFC.CSS
Declared in: WEB-INF/lps/lfc/services/platform/swf/LzCSSStyle.js

Description

This service provides style information.

This implements Interface ViewCSS (introduced in DOM Level 2) from here: http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-ViewCSS

Details

Static Methods (1)

_getSimpleSelectorSpecificity()
static private function _getSimpleSelectorSpecificity(selarr, k);
For a simple selector, figure out the specificity based on the type of the element. We determine the type of the simple selector with some quick and easy checks for sentinel characters.

Methods (1)

getSpecificity()
public function getSpecificity();

Prototype Properties (3)

properties
public var properties = null;
selector
public var selector = null;
specificity
public var specificity = 0.0;

JavaScript Synopsis

public function LzCSSStyleRule();