[Webkit-unassigned] [Bug 50195] Progress and meter elements should take a form in their constructor like any other form control.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 30 08:06:49 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=50195





--- Comment #18 from Yael <yael.aharon at nokia.com>  2010-11-30 08:06:48 PST ---
(In reply to comment #17)
> (From update of attachment 75146 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=75146&action=review
> 
> Thanks very much for writing these tests. But we need tests that fail to prove there is a bug to fix, not tests that already pass!
> 

Darin, could you please elaborate on the bug? It seems to me that the form association of meter element and the form is done correctly even if the constructor does not take form as an argument. This is done when the meter element is inserted into the tree. HTMLFormControlElement::insertedIntoTree()  line 163 :

m_form = static_cast<HTMLFormElement*>(element)

If the meter element is created with createElement('meter') and not inserted into the tree, then we are not passing a form attribute to the constructor anyways.

What am I missing?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list