Bug 247651

Summary: Fix form associated behavior for option.form when it is select on "select" element parent
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: FormsAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: akeerthi, cdumez, karlcow, rniwa, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: BrowserCompat, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=247593

Description Ahmad Saleem 2022-11-08 15:21:34 PST
Similar to Bug 247593, I am creating this for following failing testcases:

- Checks if option.form is only set if it has a <select> parent.
FAIL option1.form should be null. Was [object HTMLFormElement].
FAIL option2.form should be null. Was [object HTMLFormElement].

Link - https://jsfiddle.net/f407psh1/show

_____

It is just to track all failures for any future reference, so those can be fixed. Thanks!
Comment 1 Ryosuke Niwa 2022-11-12 00:50:08 PST
Pull request: https://github.com/WebKit/WebKit/pull/6423
Comment 2 EWS 2022-11-12 15:08:44 PST
Committed 256612@main (9d9588779309): <https://commits.webkit.org/256612@main>

Reviewed commits have been landed. Closing PR #6423 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-11-12 15:09:18 PST
<rdar://problem/102280314>