Bug 258997
| Summary: | "required" attribute should not affect <select> default selection | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | Forms | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | cdumez, webkit-bug-importer, wenson_hsieh |
| Priority: | P2 | Keywords: | BrowserCompat, InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ahmad Saleem
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/112290058>