
Use the new CustomGet/CustomPut wrapper mechansim to intercept gets and puts on CSSStyleDeclaration objects. This allows content to get and set individual CSS properties from JavaScript. :^)
7 lines
147 B
Text
7 lines
147 B
Text
[CustomGet,CustomPut]
|
|
interface CSSStyleDeclaration {
|
|
|
|
readonly attribute unsigned long length;
|
|
CSSOMString item(unsigned long index);
|
|
|
|
};
|