WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
8984
Add arguments to the custom functions in CanvasRenderingContext2D
https://bugs.webkit.org/show_bug.cgi?id=8984
Summary
Add arguments to the custom functions in CanvasRenderingContext2D
Anders Carlsson
Reported
2006-05-18 15:50:12 PDT
The functions [Custom] void setStrokeColor(/* 1 */); [Custom] void setFillColor(/* 1 */); [Custom] void strokeRect(/* 4 */); [Custom] void drawImage(/* 3 */); [Custom] void drawImageFromRect(/* 10 */); [Custom] void setShadow(/* 3 */); [Custom] void createPattern(/* 2 */); should have the correct number of arguments specified. The type doesn't matter since it's ignored when using a custom implementation
Attachments
Add attachment
proposed patch, testcase, etc.
Eric Seidel (no email)
Comment 1
2008-07-22 10:10:50 PDT
***
Bug 16969
has been marked as a duplicate of this bug. ***
Ahmad Saleem
Comment 2
2022-09-25 14:35:18 PDT
@rniwa - Is this something needed? I tried to find any Canvas related test on WPT.FYI under DOM but couldn't find any.
Alexey Proskuryakov
Comment 3
2022-09-26 13:00:16 PDT
This was not about making any observable change, but about how Source/WebCore//html/canvas/CanvasRenderingContext2D.idl was written. None of these functions are Custom any more, and of course all have their arguments spelled out.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug