WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
267511
Severely degraded performance and graphic artifacts when animating several pseudo-elements with background: url() attribute
https://bugs.webkit.org/show_bug.cgi?id=267511
Summary
Severely degraded performance and graphic artifacts when animating several ps...
me
Reported
2024-01-14 07:34:36 PST
Created
attachment 469397
[details]
video demonstration of the bug and workaround changing "background" to "background-image" fixes the issue. you can replicate the problem in this sample by pressing the plush on right to start animations:
https://bd86ba65.wukko.pages.dev/
i was able to reproduce the bug in: - Safari for macOS (Version 17.2.1 (19617.1.17.11.12)) - Safari for iOS 17.2.1 (21C66) lagginess and artefacts aren't present in: - Firefox release 121.0.1. - Arc 1.25.1 (45028) (Chromium 120.0.6099.216). i've attached a video demonstration of the issue (and how background-image fixes it).
Attachments
video demonstration of the bug and workaround
(5.09 MB, video/mp4)
2024-01-14 07:34 PST
,
me
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Antoine Quint
Comment 1
2024-01-15 09:16:05 PST
I don't see the performance degradation, may I ask what macOS hardware you are using?
Antoine Quint
Comment 2
2024-01-15 11:26:30 PST
Also, could you also provide a version with good performance? Just to be sure I'm comparing the right things.
Alexey Proskuryakov
Comment 3
2024-01-15 12:46:00 PST
I also cannot reproduce (M3 Mac, with a newer WebKit than in the report).
me
Comment 4
2024-01-15 22:13:48 PST
Just found out that this is caused by the AdGuard extension as disabling it fixes the issue, sorry for confusion. Enabling just the "general" part of AdGuard extension (with default filters) leads to choppy performance. If it's still something you wanna look into, here's a version with background-image that doesn't cause any problems:
https://dd272edc.wukko.pages.dev/
I'm using 2020 MacBook Pro with M1 chip.
Antoine Quint
Comment 5
2024-01-15 23:52:56 PST
I think we can close this. Thanks for the report!
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