WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
301343
Simplify CanvasBase::setSize
https://bugs.webkit.org/show_bug.cgi?id=301343
Summary
Simplify CanvasBase::setSize
Kimmo Kinnunen
Reported
2025-10-23 05:25:41 PDT
Simplify CanvasBase::setSize. It's a bit unclear that HTMLCanvasElement::setSize is used for significantly different purpose than its virtual base CanvasBase::setSize. Former is used for CSSCanvasContext resizing, and latter is used to store what is effectively the context size, set with internal implementation of OffscreenCanvas and HTMLCanvasElement.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-10-23 05:25:48 PDT
<
rdar://problem/163259339
>
Kimmo Kinnunen
Comment 2
2025-10-23 05:50:49 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/52878
EWS
Comment 3
2025-10-27 02:23:04 PDT
Committed
302177@main
(567d1d7beea8): <
https://commits.webkit.org/302177@main
> Reviewed commits have been landed. Closing PR #52878 and removing active labels.
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