[Webkit-unassigned] [Bug 251424] New: Radio button customized using an SVG fragment is not redrawn when value changes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 31 01:06:23 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=251424

            Bug ID: 251424
           Summary: Radio button customized using an SVG fragment is not
                    redrawn when value changes
           Product: WebKit
           Version: Safari 16
          Hardware: Unspecified
                OS: All
            Status: NEW
          Severity: Major
          Priority: P2
         Component: Forms
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: renchap at gmail.com
                CC: cdumez at apple.com, wenson_hsieh at apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230131/e71a510d/attachment.htm>


More information about the webkit-unassigned mailing list