| Summary: | Form-association for <img> is inconsistent | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> | ||||
| Component: | Forms | Assignee: | Ryosuke Niwa <rniwa> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | ahmad.saleem792, ap, bfulgham, cdumez, changseok, esprehn+autocc, ews-watchlist, gyuyoung.kim, mifenton, rniwa, tkent, webkit-bug-importer, zalan | ||||
| Priority: | P2 | Keywords: | BlinkMergeCandidate, InRadar | ||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| URL: | data:text/html,<div id=willBeRemoved> <div> <form id=f1> <input id=in1> <img id=im1> </div> <input id=in3> <img id=im3> </div> <input id=in2> <img id=im2> <script>var f = document.getElementById('f1'); var d=document.getElementById('willBeRemoved'); d.parentNode.removeChild(d); alert('' + f['im1'] + ',' + f['im2'] + ',' + f['im3']);</script> | ||||||
| Attachments: |
|
||||||
|
Description
David Kilzer (:ddkilzer)
2014-03-05 09:49:31 PST
Merge candidate: <http://src.chromium.org/viewvc/blink?view=rev&rev=165436> I am able to reproduce this using test case changed into JSFiddle: Link - https://jsfiddle.net/jscdb4mu/ Outputs across all browsers: *** Safari 15.6.1 on macOS 12.5.1 *** undefined,[object HTMLImageElement],undefined *** Safari Technology Preview 151 *** undefined,[object HTMLImageElement],undefined *** Firefox Nightly 105 *** [object HTMLImageElement],undefined,[object HTMLImageElement] *** Chrome Canary 106 *** [object HTMLImageElement],undefined,[object HTMLImageElement] __________________ Just wanted to share updated test results. Thanks! Created attachment 463504 [details]
WIP
Pull request: https://github.com/WebKit/WebKit/pull/6447 Committed 256629@main (36537bb39ed8): <https://commits.webkit.org/256629@main> Reviewed commits have been landed. Closing PR #6447 and removing active labels. |