mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 17:24:57 +00:00

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);
|
|
|
|
};
|