WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
Bug 55064
When setting innerHTML, inputs should not end up with magic form associations
https://bugs.webkit.org/show_bug.cgi?id=55064
Summary
When setting innerHTML, inputs should not end up with magic form associations
Boris Zbarsky
Reported
2011-02-23 11:12:32 PST
Created
attachment 83504
[details]
Testcase See attached testcase. It should alert PASS; it's alerting FAIL. The relevant spec is at
http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#concept-form-association
starting at "When a form-associated element's ancestor chain changes" (as it does in this case, when the fragment is inserted into the document).
Attachments
Testcase
(599 bytes, text/html)
2011-02-23 11:12 PST
,
Boris Zbarsky
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Adam Barth
Comment 1
2011-02-23 14:00:52 PST
Thanks Boris.
Eric Seidel (no email)
Comment 2
2011-02-23 14:19:00 PST
Yes, thank you Boris. I've fixed your bugzilla permissions too. :)
Boris Zbarsky
Comment 3
2011-02-23 14:20:32 PST
Oh, excellent. :)
Ahmad Saleem
Comment 4
2022-08-07 15:08:39 PDT
I am unable to reproduce this bug in Safari 15.6 on macOS 12.5 and it shows "PASS" for attached test case and matches with other browsers (Chrome Canary 106 and Firefox Nightly 105). I am going to mark this as "RESOLVE CONFIGURATION CHANGED". Thanks!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug