diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2021-04-14 23:25:23 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-14 23:01:23 +0200 |
commit | 4c0937225ea064e528ac4a4d140c4b75cdbf51b1 (patch) | |
tree | cb26848fcda0dbf4eba57746d250c1d0e2beb697 /Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.idl | |
parent | 0a580ef891e766aa08513fb9cdec4b21124530d3 (diff) | |
download | serenity-4c0937225ea064e528ac4a4d140c4b75cdbf51b1.zip |
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");
}
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.idl')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.idl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.idl b/Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.idl index 97f0462601..4f0663b186 100644 --- a/Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.idl +++ b/Userland/Libraries/LibWeb/HTML/CanvasRenderingContext2D.idl @@ -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); |