Bug 249852
| Summary: | HTMLFormControlsCollection should not handle IMG elements | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | Forms | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | akeerthi, cdumez, rniwa, wenson_hsieh |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ahmad Saleem
Hi Team,
Another failing test case from Blink's commit - https://jsfiddle.net/7dfsnp23/show
^ Safari 16.2 & STP160 both fail this while Chrome Canary 111 and Firefox Nightly 110 both passes this test.
Blink's Commit - https://chromium.googlesource.com/chromium/src.git/+/5ab9146e05f7e315976e7066b29738dbd6d56f9e
Just wanted to raise for future fixing purposes.
Thanks!
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ahmad Saleem
Removing - https://github.com/WebKit/WebKit/blob/618b085e6c6c790b318971c0ba0352cc1a90f759/Source/WebCore/html/HTMLFormControlsCollection.cpp#L28
&
https://github.com/WebKit/WebKit/blob/618b085e6c6c790b318971c0ba0352cc1a90f759/Source/WebCore/html/HTMLFormControlsCollection.cpp#L141
Till L152, I think, we need to delete.
@rniwa, @aditya - can you confirm?
Ahmad Saleem
*** This bug has been marked as a duplicate of bug 87834 ***