[Webkit-unassigned] [Bug 47813] [HTML5] "form" attribute support for form control elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Nov 6 08:08:50 PDT 2010


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





--- Comment #7 from Kent Tamura <tkent at chromium.org>  2010-11-06 08:08:50 PST ---
(In reply to comment #6)
> > WebCore/html/HTMLFormElement.cpp:150
> > +        for (Node* node = document()->traverseNextNode(); node; node = node->traverseNextNode()) {
> 
> This is not acceptable at all.  This code will introduce significant performance regression for existing pages.
> 
> I recommend to store a list (hash?) of form controls with id attribute to Document, like existing Document::registerFormElementWithState() and unregisterFormElementWithState(), and search the list for controls pointing this form element.

correction: "form controls with id attribute" -> "form controls with form attribute"

-- 
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