mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:47:35 +00:00
LibWeb: Make CanvasRenderingContext2D::fill's fillRule argument optional
As defined by the specification (and used by the website i am testing): interface mixin CanvasDrawPath { undefined fill(optional CanvasFillRule fillRule = "nonzero"); }
This commit is contained in:
parent
0a580ef891
commit
4c0937225e
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ interface CanvasRenderingContext2D {
|
||||||
|
|
||||||
undefined beginPath();
|
undefined beginPath();
|
||||||
undefined closePath();
|
undefined closePath();
|
||||||
undefined fill(DOMString fillRule);
|
undefined fill(optional DOMString fillRule = "nonzero");
|
||||||
undefined stroke();
|
undefined stroke();
|
||||||
undefined moveTo(double x, double y);
|
undefined moveTo(double x, double y);
|
||||||
undefined lineTo(double x, double y);
|
undefined lineTo(double x, double y);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue