WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
263862
Filters are recalculated for each clipping area containing a webgl canvas
https://bugs.webkit.org/show_bug.cgi?id=263862
Summary
Filters are recalculated for each clipping area containing a webgl canvas
Kaiido
Reported
2023-10-29 19:48:12 PDT
Created
attachment 468406
[details]
photo of the issue See this codepen:
https://codepen.io/_-0-_/pen/RwvaPNN
). When clipping a filtered WebGL canvas element the filter seems to be calculated from the clipped area instead of from the element's box. This does happen only for when there is a WebGL canvas inside the filtered content, i.e. when the canvas requests a 2D context, it works as expected. Also, it seems the filter is applied once more on the <body> tag, as can be seen when shrinking the frame vertically in the liked demo. And one more peculiarity, trying to take a screenshot (macOS "Screenshot" app), the bug disappears from the screenshot, so I attach a photo of what I see, and beware that automated tests may be incorrect.
Attachments
photo of the issue
(270.83 KB, image/jpeg)
2023-10-29 19:48 PDT
,
Kaiido
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-10-30 11:44:45 PDT
<
rdar://problem/117697558
>
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