Incorrect value returned from formElement.action when the form's action attribute is set to an empty string.

Not reproducible Issue #242684

Details

Created
May 23, 2014
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

Cleaned up the file and made it proper HTML showing the bug.

URL:

Repro Steps:

  1. Create a web page with the HTML 5 doctype (<!DOCTYPE html>)
  2. Add a form to the page that has an empty action attribute, e.g., <form action="">
  3. Use JavaScript to read the value of form.action, e.g., alert(document.forms[0].action);

Expected Results:

formElement.action should return the same value as the action attribute on the form tag.

Actual Results:

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Tony S.”

      Changed Assigned To from “Tony S.” to “Eugene V.”

      Changed Steps to Reproduce

      Changed Status to “Confirmed”

      Changed Assigned To from “Eugene V.” to “IE F.”

      Changed Status from “Confirmed” to “Won’t fix”

      Changed Assigned To to “Kamen M.”

      Changed Status from “Won’t fix”

      Changed Assigned To from “Kamen M.” to “IE S.”

      Changed Status to “Not reproducible”

    You need to sign in to your Microsoft account to add a comment.

    Sign in