[Webkit-unassigned] [Bug 47813] [HTML5] "form" attribute support for form control elements
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Nov 14 17:38:07 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=47813
Kent Tamura <tkent at chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #73828|review? |review-
Flag| |
--- Comment #20 from Kent Tamura <tkent at chromium.org> 2010-11-14 17:38:07 PST ---
(From update of attachment 73828)
View in context: https://bugs.webkit.org/attachment.cgi?id=73828&action=review
> LayoutTests/fast/forms/form-attribute-expected.txt:7
> +FIXME: <label> and <object> don't support the form attribute for now.
nit: It's ok to add test cases for <label> and <object> now. -expected.txt contains FAIL lines in that case.
> WebCore/dom/Document.cpp:4368
> +void Document::registerFormElementWithFormAttribute(Element* e)
The parameter name "e" is not good. It should be "control", "formControl", "element" or something.
> WebCore/dom/Document.cpp:4374
> +void Document::unregisterFormElementWithFormAttribute(Element* e)
ditto.
> WebCore/dom/Document.h:487
> + void registerFormElementWithFormAttribute(Element* e);
> + void unregisterFormElementWithFormAttribute(Element* e);
The argument name "e" doesn't add any useful information. So we should remove it.
> WebCore/html/HTMLFormElement.cpp:418
> + unsigned middle = (left + right) / 2;
Possible integer overflow. Fix it.
--
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