[Webkit-unassigned] [Bug 47813] [HTML5] "form" attribute support for form control elements
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Nov 9 18:18:30 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=47813
Kent Tamura <tkent at chromium.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #73367|review? |review-
Flag| |
--- Comment #11 from Kent Tamura <tkent at chromium.org> 2010-11-09 18:18:30 PST ---
(From update of attachment 73367)
View in context: https://bugs.webkit.org/attachment.cgi?id=73367&action=review
> LayoutTests/fast/forms/script-tests/form-attribute-elements-order.js:5
> +container.innerHTML = '<input name="victim" id="before1" form="owner" />' +
nit: You don't need double-quotes surrounding attribute values in many cases.
> LayoutTests/fast/forms/script-tests/form-attribute.js:34
> +debug('- Ensures that the form attribute points the form owner even if the element is within another form element.');
> +container.innerHTML = '<form id="owner"></form>' +
> + '<form id="shouldNotBeOwner">' +
> + ' <input id="inputElement" name="victim" form="owner" />' +
> + '</form>';
How about the following similar case?
<form id=owner>
<form id=shouldNotBeOwner>
<input id=inputElement name=victime form=owner>
</form>
</form>
> WebCore/html/HTMLFormElement.cpp:406
> +unsigned HTMLFormElement::formElementIndexWithFormAttribute(HTMLFormControlElement* element)
Does this work if the element is inside of the form?
<form id=owner>
<input>
<input form=owner>
<input>
</form>
or
<form id=owner>
<form>
<input>
<input form=owner>
<input>
</form>
</form>
--
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