From 56d987fc7303df640ec7f23609f13aef7626a7a9 Mon Sep 17 00:00:00 2001 From: Emanuele Feliziani Date: Wed, 29 Nov 2023 13:55:47 +0100 Subject: [PATCH 1/2] Add password update flows Signed-off-by: Emanuele Feliziani --- autofill/password-update.html | 87 +++++++++++++++++++++++++++++++++++ autofill/style.css | 20 +++++++- index.html | 1 + 3 files changed, 107 insertions(+), 1 deletion(-) create mode 100644 autofill/password-update.html diff --git a/autofill/password-update.html b/autofill/password-update.html new file mode 100644 index 0000000..347f21c --- /dev/null +++ b/autofill/password-update.html @@ -0,0 +1,87 @@ + + + + + + + Password update flows + + + + + +

[Home]

+ +
+
+

Change password (with hidden username field)

+
+ + + + + + + + +
+
+
+
+

Change password (without username)

+
+ + + + + + + +
+
+
+
+

Change password (without current password)

+
+ + + + + +
+
+
+
+

Change password (without autocomplete attributes)

+
+ + + + + + + +
+
+
+ + + + diff --git a/autofill/style.css b/autofill/style.css index 19d7f92..26fdf5a 100644 --- a/autofill/style.css +++ b/autofill/style.css @@ -56,8 +56,10 @@ hr { fieldset { display: grid; - grid-template-columns: max-content minmax(80px, 1fr); + grid-template-columns: 1fr 1fr; grid-gap: 1em; + width: 410px; + max-width: 100%; max-width: 100%; padding: 0; border: none; @@ -117,3 +119,19 @@ button, align-items: center; z-index: 1000; } + +dl { + text-align: left; + width: 80%; + margin-left: auto; + margin-right: auto; +} + +dt { + font-weight: bold; + margin-top: 1em; +} + +dt::after { + content: ':' +} diff --git a/index.html b/index.html index 06e0c17..594c41a 100644 --- a/index.html +++ b/index.html @@ -90,6 +90,7 @@

Autofill

  • Form submission detection and autofill
  • Form submission detection and autofill within an iframe
  • Password generation during signup
  • +
  • Password update/reset forms
  • Autoprompt credentials autofill when a login form is front and center
      From f36cebeb3f6710811a8397a8174117e1c67af512 Mon Sep 17 00:00:00 2001 From: Emanuele Feliziani Date: Wed, 29 Nov 2023 13:57:49 +0100 Subject: [PATCH 2/2] Fix linting Signed-off-by: Emanuele Feliziani --- autofill/password-update.html | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/autofill/password-update.html b/autofill/password-update.html index 347f21c..ec931ed 100644 --- a/autofill/password-update.html +++ b/autofill/password-update.html @@ -66,21 +66,21 @@

      Change password (without autocomplete attributes)