WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
251424
Radio button customized using an SVG fragment is not redrawn when value changes
https://bugs.webkit.org/show_bug.cgi?id=251424
Summary
Radio button customized using an SVG fragment is not redrawn when value changes
Renaud Chaput
Reported
2023-01-31 01:06:23 PST
When using SVG fragments to customize radio buttons (`background-image: url('sprite.svg#svgView(viewBox(135,30,30,30))'); }`), the radio button is not redrawn when the form value changes. It is correctly redrawn when the radio is hovered again. Reproduction:
https://codepen.io/STPo/pen/OJwoKrW
- Click a radio button - Click another radio button - The first radio button is still showing the "checked" SVG - Hover the first radio button, it correctly redraws as unchecked This is working as expected if using a different SVG file for each state.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-02-07 01:07:34 PST
<
rdar://problem/105118256
>
Ahmad Saleem
Comment 2
2023-06-22 06:48:54 PDT
I am able to reproduce this bug on WebKit ToT (
265400@main
) and it is also impacting LBSE.
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