Bug 3715

Summary: HTMLObjectElement.form returns null even when in form.
Product: WebKit Reporter: Curt Arnold <curt.arnold>
Component: DOMAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 412   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
tarball containing web page and backing scripts
none
Implement ::form() for object elements darin: review+

Curt Arnold
Reported 2005-06-25 16:22:45 PDT
Similar to bug 3417, however this is not a regression from Safari v2 as it also fails the attached test. Firefox, IE 6, Opera 8.01 all pass the attached test, Safari v2 and WebKit CVS HEAD fail due to returning null on HTMLObjectElement.form.
Attachments
tarball containing web page and backing scripts (5.63 KB, application/octet-stream)
2005-06-25 16:25 PDT, Curt Arnold
no flags
Implement ::form() for object elements (2.18 KB, patch)
2005-06-27 13:16 PDT, Anders Carlsson
darin: review+
Curt Arnold
Comment 1 2005-06-25 16:25:08 PDT
Created attachment 2647 [details] tarball containing web page and backing scripts Untar and open HTMLObjectElement01.html. Should display green success message, Safari v2 and CVS HEAD display red error message due to HTMLObjectElement.form returning null.
Joost de Valk (AlthA)
Comment 2 2005-06-26 12:31:48 PDT
confirmed...
Anders Carlsson
Comment 3 2005-06-27 13:16:26 PDT
Created attachment 2675 [details] Implement ::form() for object elements Turns out ::form() wasn't implemented at all for object elements.
Darin Adler
Comment 4 2005-06-27 17:19:14 PDT
Comment on attachment 2675 [details] Implement ::form() for object elements Would be nicer if somehow it shared code with the HTMLGenericFormElementImpl::getForm() function.
Note You need to log in before you can comment on or make changes to this bug.