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
306394
Cull canvas text drawing outside of the clip
https://bugs.webkit.org/show_bug.cgi?id=306394
Summary
Cull canvas text drawing outside of the clip
Gerald Squelart
Reported
2026-01-27 19:32:15 PST
Text drawing in canvas can be expensive. If the bounds of the draw are trivially computable to be outside of the canvas bounds, we can reject them early and avoid significant processing cost.
rdar://168526176
Attachments
Add attachment
proposed patch, testcase, etc.
Gerald Squelart
Comment 1
2026-01-27 20:37:30 PST
Pull request:
https://github.com/WebKit/WebKit/pull/57385
EWS
Comment 2
2026-01-29 19:07:41 PST
Committed
306465@main
(a0ea903bb9af): <
https://commits.webkit.org/306465@main
> Reviewed commits have been landed. Closing PR #57385 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