Bug 3715 - HTMLObjectElement.form returns null even when in form.
Summary: HTMLObjectElement.form returns null even when in form.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 412
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Anders Carlsson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-25 16:22 PDT by Curt Arnold
Modified: 2005-06-29 11:05 PDT (History)
0 users

See Also:


Attachments
tarball containing web page and backing scripts (5.63 KB, application/octet-stream)
2005-06-25 16:25 PDT, Curt Arnold
no flags Details
Implement ::form() for object elements (2.18 KB, patch)
2005-06-27 13:16 PDT, Anders Carlsson
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Curt Arnold 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.
Comment 1 Curt Arnold 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.
Comment 2 Joost de Valk (AlthA) 2005-06-26 12:31:48 PDT
confirmed...
Comment 3 Anders Carlsson 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.
Comment 4 Darin Adler 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.