[webkit-reviews] review denied: [Bug 86719] Submit button doesn't submit the form if the form is wrapped by an anchor tag : [Attachment 143687] Patch
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 23 17:11:58 PDT 2012
Ryosuke Niwa <rniwa at webkit.org> has denied Pablo Flouret
<pablof at motorola.com>'s request for review:
Bug 86719: Submit button doesn't submit the form if the form is wrapped by an
anchor tag
https://bugs.webkit.org/show_bug.cgi?id=86719
Attachment 143687: Patch
https://bugs.webkit.org/attachment.cgi?id=143687&action=review
------- Additional Comments from Ryosuke Niwa <rniwa at webkit.org>
View in context: https://bugs.webkit.org/attachment.cgi?id=143687&action=review
The code change looks good. We need more testing.
> LayoutTests/ChangeLog:9
> + * fast/forms/form-in-anchor-controls-activation-expected.txt: Added.
> + * fast/forms/form-in-anchor-controls-activation.html: Added.
Please add a test for non-form elements.
> LayoutTests/fast/forms/form-in-anchor-controls-activation.html:10
> +window.onload = function () {
Do we really need to wait until the load event fires? Can't we move this code
to the script element below?
> LayoutTests/fast/forms/form-in-anchor-controls-activation.html:26
> + /*
> + (function (element) {
> + element.addEventListener("click", function () {
> + log("Activated " + element + " type=" + element.type);
> + }, false);
> + })(element);
> + */
You should delete this code.
> LayoutTests/fast/forms/form-in-anchor-controls-activation.html:73
> +<script>
> +</script>
Why do we need this script element?
More information about the webkit-reviews
mailing list