Bug 249849 - Reset algorithm is incorrect for select element with first option disabled
Summary: Reset algorithm is incorrect for select element with first option disabled
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-12-23 12:20 PST by Ahmad Saleem
Modified: 2022-12-23 16:46 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 2022-12-23 12:20:15 PST
Hi Team,

While going through Blink's Form related commit, came across another failing test:

Test Case - https://jsfiddle.net/nbdztgeq/show

Blink Commit - https://chromium.googlesource.com/chromium/src.git/+/5b2038755e5c1e046642373d6b3add2452b8eb2e

WebKit GitHub Source - https://github.com/WebKit/WebKit/blob/7e5f5d82d9818bef7c998e4c6822c11118d92896/Source/WebCore/html/HTMLSelectElement.cpp#L1094

^ Note - we have to tailor test to only take passing ones because we are failing first one as well.

Just wanted to raise so this can be fixed.

Thanks!
Comment 1 EWS 2022-12-23 16:46:00 PST
Committed 258313@main (5aa94a8e95f6): <https://commits.webkit.org/258313@main>

Reviewed commits have been landed. Closing PR #8050 and removing active labels.
Comment 2 Radar WebKit Bug Importer 2022-12-23 16:46:18 PST
<rdar://problem/103677144>