summaryrefslogtreecommitdiffstats
path: root/editor/reftests/xul/input.css
diff options
context:
space:
mode:
Diffstat (limited to 'editor/reftests/xul/input.css')
-rw-r--r--editor/reftests/xul/input.css30
1 files changed, 30 insertions, 0 deletions
diff --git a/editor/reftests/xul/input.css b/editor/reftests/xul/input.css
new file mode 100644
index 0000000000..cec3f94d3b
--- /dev/null
+++ b/editor/reftests/xul/input.css
@@ -0,0 +1,30 @@
+@namespace url('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul');
+@namespace html url('http://www.w3.org/1999/xhtml');
+
+:root > html|input {
+ margin: 2px 4px;
+ padding: 2px 2px 3px;
+ padding-inline-start: 5px;
+}
+
+#mac > html|input {
+ margin: 4px;
+ padding: 0 1px;
+}
+
+html|input {
+ font: inherit;
+}
+
+html|input.empty {
+ color: graytext;
+}
+
+html|input.num {
+ text-align: end;
+}
+
+/* .textbox-input has 1px extra padding on Linux */
+#linux html|input.num {
+ padding-inline-end: 3px;
+}