Bug 247651 - Fix form associated behavior for option.form when it is select on "select" element parent
Summary: Fix form associated behavior for option.form when it is select on "select" el...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2022-11-08 15:21 PST by Ahmad Saleem
Modified: 2022-11-12 15:09 PST (History)
6 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-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>