mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 17:28:30 +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. :^)
8 lines
147 B
Plaintext
8 lines
147 B
Plaintext
[CustomGet,CustomPut]
|
|
interface CSSStyleDeclaration {
|
|
|
|
readonly attribute unsigned long length;
|
|
CSSOMString item(unsigned long index);
|
|
|
|
};
|