addRule method
The obsolete CSSStyleSheet interface's
addRule()
legacy method adds a new rule to the
stylesheet. You should avoid using this method, and should instead use the
more standard
CSSStyleSheet.insertRule method.
Implementation
external int addRule([
String selector,
String style,
int index,
]);