mirror of
https://github.com/servo/servo
synced 2026-04-28 02:19:14 +02:00
Implement ImageData constructors #15671
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
* You are granted a license to use, reproduce and create derivative works of this document.
|
||||
*/
|
||||
|
||||
//[Constructor(unsigned long sw, unsigned long sh),
|
||||
//Constructor(Uint8ClampedArray data, unsigned long sw, optional unsigned long sh),
|
||||
[Exposed=(Window,Worker)]
|
||||
[Constructor(unsigned long sw, unsigned long sh),
|
||||
Constructor(/* Uint8ClampedArray */ object data, unsigned long sw, optional unsigned long sh),
|
||||
Exposed=(Window,Worker)]
|
||||
interface ImageData {
|
||||
//[Constant]
|
||||
readonly attribute unsigned long width;
|
||||
|
||||
Reference in New Issue
Block a user