mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Implement ImageData constructors #15671
This commit is contained in:
parent
7db36abf67
commit
46a25d621c
7 changed files with 156 additions and 19 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue