Skip to content

Commit

Permalink
Make dirname apply to hidden, tel, url, email.
Browse files Browse the repository at this point in the history
Differential Revision: https://phabricator.services.mozilla.com/D183114

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1841801
gecko-commit: bcf15daad87fbafd7c23056d26f1680dce9ccbe5
gecko-reviewers: dom-core, edgar
  • Loading branch information
vinhill authored and moz-wptsync-bot committed Jul 24, 2023
1 parent 13ef5f8 commit e0d06c5
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@
<iframe name="iframe"></iframe>

<script>
const types_applies = ["text", "search"];
const types_applies = ["text", "search", "hidden", "tel", "url", "email"];
const types_not = [
"hidden", "tel", "url", "email", "password", "date", "month", "week", "time",
"password", "date", "month", "week", "time", "image", "reset", "button",
"datetime-local", "number", "range", "color", "checkbox", "radio", "file", "submit",
"image", "reset", "button"
];
const types = [...types_applies, ...types_not];
let form = document.querySelector("form");
Expand Down

0 comments on commit e0d06c5

Please sign in to comment.