[Webkit-unassigned] [Bug 257553] New: Selecting OptGroup label does not deselect selected item

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 31 11:11:44 PDT 2023


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

            Bug ID: 257553
           Summary: Selecting OptGroup label does not deselect selected
                    item
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: BrowserCompat
          Severity: Normal
          Priority: P2
         Component: Forms
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com
                CC: cdumez at apple.com, wenson_hsieh at apple.com

Hi Team,

While going through Blink's commit, I came across another issue, where we lost selection if click on label while Firefox Nightly 115 and Chrome Canary 116 does not.

Testcase: https://jsfiddle.net/aqwnsfzt/

^ Select on 'Selection' and then try to select 'label' and you will lose selection in Safari 16.5

Blink Commit: https://src.chromium.org/viewvc/blink?view=revision&revision=171470

WebKit Source: https://github.com/WebKit/WebKit/blob/b37f820dae2abeffca68dc3c9ec6831d8b16f370/Source/WebCore/html/HTMLSelectElement.cpp#L1329

Doing local testing, it does fix the issue and don't fail any test in /fast/forms/select and imported/w3c/web-platform-tests/html/.

We might need to skip it on iOS (test case).

Just wanted to raise, so we can fix it.

Marking this as 'BrowserCompat' as well.

Thanks!

-- 
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/20230531/69845037/attachment.htm>


More information about the webkit-unassigned mailing list