1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 13:07:46 +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:
Idan Horowitz 2021-04-14 23:25:23 +03:00 committed by Andreas Kling
parent 0a580ef891
commit 4c0937225e

View file

@ -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);