You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a text input whose purpose is to accept sensitive input,
739
+
as defined by the host language.
740
+
For example, in HTML <{input/type/password|<input type=password>}> is a [=sensitive text input=].
741
+
742
+
By default, user agents obscure the contents of [=sensitive text inputs=]
743
+
in order to prevent onlookers from seeing it.
744
+
Users may wish to temporarily disable this obscuring
745
+
in order to confirm that they've typed their sensitive information correctly.
746
+
The ''input-security'' property may be used by authors
747
+
to enable or disable this obscuring.
748
+
749
+
<dl dfn-type=value dfn-for=input-security>
750
+
<dt><dfn>none</dfn>
751
+
<dd>
752
+
The UA must not obscure the text in the control,
753
+
so that it can be read by the user.
754
+
<dt><dfn>auto</dfn>
755
+
<dd>
756
+
The UA should obscure the text in the control,
757
+
so that it cannot be read by the user.
758
+
</dl>
759
+
760
+
While the exact mechanism by which user agents obscure the text in the control is undefined, user agents typically obscure [=sensitive text inputs=] by replacing each character with some suitable replacement such as U+002A ASTERISK (*) or U+25CF BLACK CIRCLE (●).
761
+
762
+
<div class="example">
763
+
For instance, given this style sheet
764
+
<pre><code class="lang-css">
765
+
input[type=password] {
766
+
input-security: auto;
767
+
}</code></pre>
768
+
and this HTML
769
+
<pre><code class="lang-html">
770
+
<input type=password value=MySecret794>
771
+
</code></pre>
772
+
a user agent might render the <{input/type/password|<input type=password>}> like so:
a text input whose purpose is to accept sensitive input,
2709
-
as defined by the host language.
2710
-
For example, in HTML <{input/type/password|<input type=password>}> is a [=sensitive text input=].
2711
-
2712
-
By default, user agents obscure the contents of [=sensitive text inputs=]
2713
-
in order to prevent onlookers from seeing it.
2714
-
Users may wish to temporarily disable this obscuring
2715
-
in order to confirm that they've typed their sensitive information correctly.
2716
-
The ''input-security'' property may be used by authors
2717
-
to enable or disable this obscuring.
2718
-
2719
-
<dl dfn-type=value dfn-for=input-security>
2720
-
<dt><dfn>none</dfn>
2721
-
<dd>
2722
-
The UA must not obscure the text in the control,
2723
-
so that it can be read by the user.
2724
-
<dt><dfn>auto</dfn>
2725
-
<dd>
2726
-
The UA should obscure the text in the control,
2727
-
so that it cannot be read by the user.
2728
-
</dl>
2729
-
2730
-
While the exact mechanism by which user agents obscure the text in the control is undefined, user agents typically obscure [=sensitive text inputs=] by replacing each character with some suitable replacement such as U+002A ASTERISK (*) or U+25CF BLACK CIRCLE (●).
2731
-
2732
-
<div class="example">
2733
-
For instance, given this style sheet
2734
-
<pre><code class="lang-css">
2735
-
input[type=password] {
2736
-
input-security: auto;
2737
-
}</code></pre>
2738
-
and this HTML
2739
-
<pre><code class="lang-html">
2740
-
<input type=password value=MySecret794>
2741
-
</code></pre>
2742
-
a user agent might render the <{input/type/password|<input type=password>}> like so:
0 commit comments