summaryrefslogtreecommitdiffstats
path: root/layout/style/res/forms.css
diff options
context:
space:
mode:
Diffstat (limited to 'layout/style/res/forms.css')
-rw-r--r--layout/style/res/forms.css13
1 files changed, 8 insertions, 5 deletions
diff --git a/layout/style/res/forms.css b/layout/style/res/forms.css
index 587534e9f3..7a5c25fc6e 100644
--- a/layout/style/res/forms.css
+++ b/layout/style/res/forms.css
@@ -73,6 +73,8 @@ fieldset {
label {
cursor: default;
+ /* If you add declarations here, consider whether the select > label and file
+ * input label need them as well. */
}
/* Default inputs, text inputs, and selects */
@@ -190,6 +192,10 @@ input::-moz-text-control-preview {
line-height: -moz-block-height !important;
}
+input[type=password] {
+ -moz-default-appearance: password-input;
+}
+
input[type=password]::-moz-text-control-editing-root,
input[type=password]::-moz-text-control-preview {
/*
@@ -281,6 +287,7 @@ select > button {
select > label {
display: inline-block;
overflow: clip;
+ cursor: unset;
}
option[label]::before {
@@ -627,10 +634,7 @@ input[type=file] > label {
min-inline-size: 12em;
text-align: match-parent;
- color: unset;
- font-size: unset;
- letter-spacing: unset;
-
+ cursor: unset;
user-select: none;
unicode-bidi: plaintext;
}
@@ -838,7 +842,6 @@ input[type=range]::slider-thumb {
}
input[type=number] {
- appearance: auto;
-moz-default-appearance: number-input;
}