Skip to content

<input> still hidden if inside <noscript> #6

@goozak

Description

@goozak

Given this HTML:

<html>
  <head>
    <title>Working...</title>
  </head>
  <body>
    <form method="POST" name="hiddenform" action="http://dummy">
      <input type="hidden" name="Data" value="SomeData"/>
      <input type="hidden" name="OtherData" value="Coffee"/>
      <noscript>
        <p>Script is disabled. Click Submit to continue.</p>
        <input type="submit" value="Submit"/>
      </noscript>
    </form>
    <script language="javascript">window.setTimeout(alert('Submited via JS'), 0);</script>
  </body>
</html>

When JavaScript is disabled via the Switcher, the <p> tag is shown as expected, but not the <input>.
If JavaScript is disabled via javascript.enabled, the entire <noscript> is shown (but only if the Switcher is green).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions