mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
CanvasGradient#addColorStop should throw for invalid colors and offsets
This commit is contained in:
parent
44d93bc37a
commit
7315b50973
7 changed files with 24 additions and 24 deletions
|
@ -7,6 +7,7 @@
|
|||
// [Exposed=(Window,Worker)]
|
||||
interface CanvasGradient {
|
||||
// opaque object
|
||||
[Throws]
|
||||
void addColorStop(double offset, DOMString color);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue