Skip to content

Commit

Permalink
LibWeb: Make CanvasRenderingContext2D::fill's fillRule argument optional
Browse files Browse the repository at this point in the history
As defined by the specification (and used by the website i am testing):
interface mixin CanvasDrawPath {
  undefined fill(optional CanvasFillRule fillRule = "nonzero");
}
  • Loading branch information
IdanHo authored and awesomekling committed Apr 14, 2021
1 parent 0a580ef commit 4c09372
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4c09372

Please sign in to comment.