mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:27:34 +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 closePath();
|
||||
undefined fill(DOMString fillRule);
|
||||
undefined fill(optional DOMString fillRule = "nonzero");
|
||||
undefined stroke();
|
||||
undefined moveTo(double x, double y);
|
||||
undefined lineTo(double x, double y);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue