NEW 258997
"required" attribute should not affect <select> default selection
https://bugs.webkit.org/show_bug.cgi?id=258997
Summary "required" attribute should not affect <select> default selection
Ahmad Saleem
Reported 2023-07-07 14:55:48 PDT
Hi Team, While going through Blink's commit, I came across another failing test case: Test Case: data:text/html;charset=utf-8,<select required><option value="" disabled>Placeholder<option>First</select><select><option value="" disabled>Placeholder<option>First</select> Expected Result: [First] [First] Actual Result: [Placeholder] [First] Blink Commit: https://src.chromium.org/viewvc/blink?view=revision&revision=190795 Test Case from above commit: https://jsfiddle.net/o460dszn/show ^ Failing following: FAIL valueMissingFor("select-disabled-option-2") should be false. Was true. FAIL document.getElementById("select-disabled-option-2").selectedIndex should be 1. Was 0. _______________ Just wanted to raise, so we can fix it. Thanks!
Attachments
Radar WebKit Bug Importer
Comment 1 2023-07-14 14:56:15 PDT
Note You need to log in before you can comment on or make changes to this bug.